i2c-bfin-twi: Use struct dev_pm_ops for power management
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 11 Jul 2012 19:23:31 +0000 (21:23 +0200)
committerWolfram Sang <w.sang@pengutronix.de>
Thu, 12 Jul 2012 10:04:38 +0000 (12:04 +0200)
commit85777ad264695b6287b958627196bd70f72ca8ae
treeef8bfc8785097333057d3995a924b81e51a3e23f
parentf277d27cc40f77719d45d9f5abf3ae4e9bdb172f
i2c-bfin-twi: Use struct dev_pm_ops for power management

Make the Blackfin On-Chip 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>
Acked-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-bfin-twi.c