I2C: Rework i2c-pxa suspend_late()/resume_early()
authorMagnus Damm <damm@igel.co.jp>
Wed, 8 Jul 2009 11:22:39 +0000 (13:22 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Tue, 21 Jul 2009 22:28:39 +0000 (00:28 +0200)
commit57f4d4f1b72983f8c76e2f232e064730aeffe599
tree5fe1344b3cac21bc73d3d8855af6a200953977ca
parent4aebac2fb9645e897864e12cdb8d1e4aadf5b2a4
I2C: Rework i2c-pxa suspend_late()/resume_early()

This patch reworks platform driver power management code
for i2c-pxa from legacy late/early callbacks to dev_pm_ops.

The callbacks are converted for CONFIG_SUSPEND like this:
  suspend_late() -> suspend_noirq()
  resume_early() -> resume_noirq()

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/i2c/busses/i2c-pxa.c