[PATCH 3/5] PM / Runtime: Add second macro for definition of runtime PM callbacks

2013-11-27 Thread Ulf Hansson
It is allowed and will in many cases make sense to have the runtime PM callbacks to be defined for CONFIG_PM instead of CONFIG_PM_RUNTIME. Since the PM core disables runtime PM during system suspend, before the .suspend_late callbacks are invoked, drivers could at this point directly invoke it's

[PATCH 3/5] PM / Runtime: Add second macro for definition of runtime PM callbacks

2013-11-27 Thread Ulf Hansson
It is allowed and will in many cases make sense to have the runtime PM callbacks to be defined for CONFIG_PM instead of CONFIG_PM_RUNTIME. Since the PM core disables runtime PM during system suspend, before the .suspend_late callbacks are invoked, drivers could at this point directly invoke it's