Re: [PATCH] mmc: host: use platform_{get,set}_drvdata()

2013-06-02 Thread Jingoo Han
On Monday, June 03, 2013 10:39 AM, Michał Mirosław wrote: > On Sat, Jun 01, 2013 at 02:16:22PM +0900, Jingoo Han wrote: > > Use the wrapper functions for getting and setting the driver data using > > platform_device instead of using dev_{get,set}_drvdata() with &pdev->dev, > > so we can directly pa

Re: [PATCH] mmc: host: use platform_{get,set}_drvdata()

2013-06-02 Thread 'Michał Mirosław'
On Sat, Jun 01, 2013 at 02:16:22PM +0900, Jingoo Han wrote: > Use the wrapper functions for getting and setting the driver data using > platform_device instead of using dev_{get,set}_drvdata() with &pdev->dev, > so we can directly pass a struct platform_device. > > Signed-off-by: Jingoo Han > ---

[PATCH] mmc: host: use platform_{get,set}_drvdata()

2013-05-31 Thread Jingoo Han
Use the wrapper functions for getting and setting the driver data using platform_device instead of using dev_{get,set}_drvdata() with &pdev->dev, so we can directly pass a struct platform_device. Signed-off-by: Jingoo Han --- drivers/mmc/host/cb710-mmc.c |2 +- drivers/mmc/host/sh_mobil