]> git.karo-electronics.de Git - karo-tx-linux.git/commit
thinkpad_acpi: Use struct dev_pm_ops instead of legacy PM routines
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 27 Jun 2012 21:19:01 +0000 (23:19 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Sun, 1 Jul 2012 11:31:13 +0000 (13:31 +0200)
commit4959a781bc1bbd0d06092caa94e33fd41033a38d
tree04dccf6f7bb908ae27bb0d89be7e16026e2f9b7d
parentfd3c3a424e43e4f85385de0c2609c490605611a6
thinkpad_acpi: Use struct dev_pm_ops instead of legacy PM routines

Make the thinkpad_acpi 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>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Acked-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/thinkpad_acpi.c