olpc-xo15-sci: Use struct dev_pm_ops for power management
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 12 Jul 2012 20:36:28 +0000 (22:36 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Thu, 12 Jul 2012 20:36:28 +0000 (22:36 +0200)
commit18468843fac331dfbb700901c8012d17373adfec
treeead0ab9f99fb1d60c65ea1c56b538a7455814e46
parentd91ee328c1e8b3992ffbf84a1a984c2a7f4ebff7
olpc-xo15-sci: Use struct dev_pm_ops for power management

Make the OLPC XO15 SCI driver define its resume callback through
a struct dev_pm_ops object rather than by using a legacy PM hook
in struct acpi_device_ops.

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
arch/x86/platform/olpc/olpc-xo15-sci.c