i2c-at91: Use struct dev_pm_ops for power management
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 11 Jul 2012 19:22:47 +0000 (21:22 +0200)
committerWolfram Sang <w.sang@pengutronix.de>
Thu, 12 Jul 2012 10:04:32 +0000 (12:04 +0200)
commitf277d27cc40f77719d45d9f5abf3ae4e9bdb172f
treef616f4a21bef56a1d4d78e38facf0ad767f22ad9
parent02d8bf8dc6b09cb810599c64d47da3bdf4f85882
i2c-at91: Use struct dev_pm_ops for power management

Make the AT91 Two-Wire Interface 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>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-at91.c