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)
commita6ab7aa9f432f722808c6fea5a8b7f5f229de031
tree94cc8cddba15a02c4dd3989fbcebb0be1542d586
parentaa0baaef97c89de2ef216fcc017215ee01662a10
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