ACPI: Use struct dev_pm_ops for power management in processor driver
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 27 Jun 2012 21:26:26 +0000 (23:26 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Sun, 1 Jul 2012 11:31:00 +0000 (13:31 +0200)
commite8110b64af8b7cce96d1878276770c76cb9c01d5
tree8a433a4fda149d49a59d34d7e26022f6d5dc36fd
parent167cffb646aa4a7f3267b07eae1af16b54bc0e9b
ACPI: Use struct dev_pm_ops for power management in processor driver

Make the ACPI processor driver define its PM callbacks through
a struct dev_pm_ops object rather than by using legacy PM hooks
in struct acpi_device_ops.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/acpi/processor_driver.c
drivers/acpi/processor_idle.c
include/acpi/processor.h