hdaps: Use struct dev_pm_ops for power management
authorRafael J. Wysocki <rjw@sisk.pl>
Sat, 30 Jun 2012 21:50:47 +0000 (23:50 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Tue, 3 Jul 2012 16:34:27 +0000 (18:34 +0200)
commite25d5c11eeeec610af2e0ff51e60d7cdadefe0f2
tree80b5e79918cbfb3717dc4188a649d7c40115d80f
parent199ac0529eac0341b232b450e43fad71d1513e94
hdaps: Use struct dev_pm_ops for power management

Make the HDAPS 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>
drivers/platform/x86/hdaps.c