mg_disk: Use struct dev_pm_ops for power management
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 5 Jul 2012 20:11:33 +0000 (22:11 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 6 Jul 2012 17:07:00 +0000 (19:07 +0200)
commit156ffcb42a3b3fbebbb7f0e08e679b0954c0829c
tree0752345513efda4932e72c2301d91f6088b1aec1
parent9033132ddff7d096f3e54704c4250384c5ab3aa2
mg_disk: Use struct dev_pm_ops for power management

Make the mg_disk 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/block/mg_disk.c