i2c-ocores: Use struct dev_pm_ops for power management
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 11 Jul 2012 19:24:15 +0000 (21:24 +0200)
committerWolfram Sang <w.sang@pengutronix.de>
Thu, 12 Jul 2012 10:04:39 +0000 (12:04 +0200)
commit84603c7c2e94bd1394f29fbfbd289432565ee2e8
treec27c3d6dd75488985ef2813dc2efbbf293e6aa8c
parent85777ad264695b6287b958627196bd70f72ca8ae
i2c-ocores: Use struct dev_pm_ops for power management

Make the OpenCores I2C controller 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-ocores.c