Re: [PATCH] mmc: sdio: Fix PM_SLEEP related build warnings

2012-08-09 Thread Rafael J. Wysocki
On Thursday, August 09, 2012, Thierry Reding wrote: > Power management callbacks defined by SIMPLE_DEV_PM_OPS are only used if > the PM_SLEEP Kconfig symbol has been defined. If not, the compiler will > complain about them being unused. However, since the callback for this > driver doesn't do anyth

Re: [PATCH] mmc: sdio: Fix PM_SLEEP related build warnings

2012-08-09 Thread Rafael J. Wysocki
On Thursday, August 09, 2012, Thierry Reding wrote: > On Thu, Aug 09, 2012 at 11:27:02AM +0200, Rafael J. Wysocki wrote: > > On Thursday, August 09, 2012, Thierry Reding wrote: > > > Power management callbacks defined by SIMPLE_DEV_PM_OPS are only used if > > > the PM_SLEEP Kconfig symbol has been

[PATCH] mmc: sdio: Fix PM_SLEEP related build warnings

2012-08-09 Thread Thierry Reding
Power management callbacks defined by SIMPLE_DEV_PM_OPS are only used if the PM_SLEEP Kconfig symbol has been defined. If not, the compiler will complain about them being unused. However, since the callback for this driver doesn't do anything it can just as well be dropped. Signed-off-by: Thierry

Re: [PATCH] mmc: sdio: Fix PM_SLEEP related build warnings

2012-08-09 Thread Thierry Reding
On Thu, Aug 09, 2012 at 11:27:02AM +0200, Rafael J. Wysocki wrote: > On Thursday, August 09, 2012, Thierry Reding wrote: > > Power management callbacks defined by SIMPLE_DEV_PM_OPS are only used if > > the PM_SLEEP Kconfig symbol has been defined. If not, the compiler will > > complain about them b

Re: [PATCH] mmc: sdio: Fix PM_SLEEP related build warnings

2012-08-09 Thread Rafael J. Wysocki
On Thursday, August 09, 2012, Thierry Reding wrote: > Power management callbacks defined by SIMPLE_DEV_PM_OPS are only used if > the PM_SLEEP Kconfig symbol has been defined. If not, the compiler will > complain about them being unused. > > Signed-off-by: Thierry Reding The pm_no_operation() thi