]> git.karo-electronics.de Git - linux-beck.git/commit
i2c-pnx: Use struct dev_pm_ops for power management
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 11 Jul 2012 19:25:17 +0000 (21:25 +0200)
committerWolfram Sang <w.sang@pengutronix.de>
Thu, 12 Jul 2012 10:04:49 +0000 (12:04 +0200)
commit783414ba9a65fa15e44716dc478e9536d202e0ff
tree7419fbb15ca37b2f3e7932abb1555f56e10b00cd
parent84603c7c2e94bd1394f29fbfbd289432565ee2e8
i2c-pnx: Use struct dev_pm_ops for power management

Make the PNX 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-pnx.c