acer-wmi: Use struct dev_pm_ops for power management
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 27 Jun 2012 21:19:35 +0000 (23:19 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Sun, 1 Jul 2012 11:31:14 +0000 (13:31 +0200)
commit3c33be0b0dae390557f41a604ac621d0f3eabf9b
tree1b360a6d41d109e24853cc9d1411aa378dde19ba
parent818e14860615634646e1fe176d49e4357a4e1534
acer-wmi: Use struct dev_pm_ops for power management

Make the acer-wmi driver define its PM callbacks through
a struct dev_pm_ops object rather than by using legacy PM hooks
in struct platform_driver.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Tested-by: Lee, Chun-Yi <jlee@suse.com>
Acked-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/acer-wmi.c