[linux-pm] [PATCH] PM: lenient generic runtime pm callbacks

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Sep 8 03:55:51 PDT 2010


On Tue, Sep 07, 2010 at 01:20:42AM +0300, Ohad Ben-Cohen wrote:
> Allow drivers, that belong to subsystems which use the generic
> runtime pm callbacks, not to define runtime pm suspend/resume handlers,
> by implicitly assuming success in such cases.
> 
> This is needed to eliminate nop handlers that would otherwise be
> necessary by drivers which enable runtime pm, but don't need
> to do anything when their devices are runtime-suspended/resumed.
> 
> Signed-off-by: Ohad Ben-Cohen <ohad at wizery.com>

Acked-by: Mark Brown <broonie at opensource.wolfsonmicro.com>

As I said previously this would also remove some dummy suspend functions
I need for some MFDs.


More information about the linux-pm mailing list