diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2012-06-27 17:25:59 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-07-01 07:30:59 -0400 |
commit | 67699c5f0c68f5dc49e92b172d372c99cdd2bf09 (patch) | |
tree | 91be1b7151671a8066cabba083ec68b4832d164f /drivers/acpi/fan.c | |
parent | 707156e600dbfd89e129239ee1d1d934cbe2119c (diff) |
ACPI / PM: Make acpi_bus_type use driver struct dev_pm_ops callbacks
Modify acpi_bus_type so that it executes PM callbacks provided
by drivers through their struct dev_pm_ops objects, if present,
while still allowing the legacy ACPI PM callbacks to take precedence.
This will make it possible to convert ACPI drivers one by one to
handling PM through struct dev_pm_ops instead of the legacy way.
The code added by this change is temporary and will be removed
when all of the drivers in question have been switched over to
the PM handling based on struct dev_pm_ops.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'drivers/acpi/fan.c')
0 files changed, 0 insertions, 0 deletions