]> git.baikalelectronics.ru Git - kernel.git/commit
PM / Runtime: Use device type and device class callbacks
authorRafael J. Wysocki <rjw@sisk.pl>
Tue, 22 Dec 2009 19:43:17 +0000 (20:43 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Tue, 22 Dec 2009 19:43:17 +0000 (20:43 +0100)
commit884fa816950779e374a81609e5c2966b7b1a12e3
tree94cc8cddba15a02c4dd3989fbcebb0be1542d586
parent994309ca4b02e3f9d2d05284905723b8101b0efc
PM / Runtime: Use device type and device class callbacks

The power management of some devices is handled through device types
and device classes rather than through bus types.  Since these
devices may also benefit from using the run-time power management
core, extend it so that the device type and device class run-time PM
callbacks can be taken into consideration by it if the bus type
callback is not defined.

Update the run-time PM core documentation to reflect this change.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Documentation/power/runtime_pm.txt
drivers/base/power/runtime.c