ACPI / PM: Do not execute legacy driver PM callbacks
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 29 Jun 2012 21:40:13 +0000 (23:40 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Sun, 1 Jul 2012 11:31:06 +0000 (13:31 +0200)
commit13db85528fd606b2dfd8f1a5952158e4ad6ce51a
tree5aa6e694f86f02eb874a672db6f5d482eb867097
parentc5dec0182256361a3f823316e8fb85263f76efe7
ACPI / PM: Do not execute legacy driver PM callbacks

Since all ACPI drivers in the tree should have been switched
to power management handling based on struct dev_pm_ops,
modify the ACPI bus type driver so that is doesn't execute
legacy driver power management callbacks from the functions
pointed to by the members of the acpi_bus_pm structure.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/acpi/scan.c