diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-05-10 23:10:13 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2010-05-10 23:10:13 +0200 |
commit | 543f2503a956601dd490c6cde0ebf6adb4653e50 (patch) | |
tree | d8092f7a19d8d219d75a659e2f7ad09d2ff08d7a /kernel/cgroup_freezer.c | |
parent | 2f60ba706bd9af84c4eab704243b262e69556f2e (diff) | |
download | lwn-543f2503a956601dd490c6cde0ebf6adb4653e50.tar.gz lwn-543f2503a956601dd490c6cde0ebf6adb4653e50.zip |
PM / platform_bus: Allow runtime PM by default
Currently the default runtime PM callbacks for platform devices return
-ENOSYS, preventing the use of runtime PM platforms until they have
provided at least a default implementation. This hinders the use of
runtime PM by devices which work with many platforms such as memory
mapped devices, MFDs and on chip IPs shared by multiple architectures.
Change the default implementation to the standard pm_generic_runtime
one, allowing drivers to use runtime PM without per-architecture
changes.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'kernel/cgroup_freezer.c')
0 files changed, 0 insertions, 0 deletions