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

Make the ACPI AC adapter 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/ac.c