diff options
author | Ohad Ben-Cohen <ohad@wizery.com> | 2010-09-09 00:46:16 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2010-10-17 01:57:41 +0200 |
commit | 05aa55dddb9ee4045c320661068bea78dad6a6e5 (patch) | |
tree | a1e814aebe12a2b560b505a3763dfdbf8ad90d8a /kernel/power/power.h | |
parent | 2d019713b7acbc01d769a1e512ca1f9a04c30bd0 (diff) |
PM / Runtime: Lenient generic runtime pm callbacks
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@wizery.com>
Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'kernel/power/power.h')
0 files changed, 0 insertions, 0 deletions