ARM: Rework omap suspend_late()/resume_early()
authorMagnus Damm <damm@igel.co.jp>
Wed, 8 Jul 2009 11:22:04 +0000 (13:22 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Tue, 21 Jul 2009 22:28:38 +0000 (00:28 +0200)
commit79ee031ff6fd23a1a2a4f783cfc3421885304ce3
tree085ba3d5839af93bcda7c10c67906b58db4f14cd
parentd7aacaddcac3971e33cf52d7e610c06696cb347f
ARM: Rework omap suspend_late()/resume_early()

This patch reworks platform driver power management code
for omap drivers using late/early legacy callbacks.

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>
arch/arm/plat-omap/debug-leds.c
arch/arm/plat-omap/gpio.c