ARM / OMAP: Use struct syscore_ops for "core" power management
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 22 Apr 2011 20:02:46 +0000 (22:02 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Sun, 24 Apr 2011 17:16:08 +0000 (19:16 +0200)
commit3c437ffd20329619672b12a97bee944bccdd4ec9
tree7423169985146905848fa8b034754cfa9d5b8d44
parent328f5cc30290a92ea3ca62b2a63d2b9ebcb0d334
ARM / OMAP: Use struct syscore_ops for "core" power management

Replace the sysdev class and struct sys_device used for power
management in the OMAP's GPIO code with a struct syscore_ops object
which is simpler.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Kevin Hilman <khilman@ti.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/arm/plat-omap/gpio.c