diff options
author | Tarun Kanti DebBarma <tarun.kanti@ti.com> | 2011-09-29 07:23:22 +0530 |
---|---|---|
committer | Tarun Kanti DebBarma <tarun.kanti@ti.com> | 2012-02-06 14:13:44 +0530 |
commit | 55b93c32520dc7ff0097db81db9b1e6b735951a9 (patch) | |
tree | 49b2c64c5a0d32382e1980245b601d47ff500c30 /arch/arm/mach-omap2/gpio.c | |
parent | ec9af5d9f9399ceb340ee26afcc7d23e9d2a94c2 (diff) | |
download | blackbird-op-linux-55b93c32520dc7ff0097db81db9b1e6b735951a9.tar.gz blackbird-op-linux-55b93c32520dc7ff0097db81db9b1e6b735951a9.zip |
gpio/omap: use pm-runtime framework
Call runtime pm APIs pm_runtime_get_sync() and pm_runtime_put()
for enabling/disabling clocks appropriately. Remove syscore_ops and
instead use SET_RUNTIME_PM_OPS macro.
There is no more need to call omap_device_disable_idle_on_suspend
since driver is PM runtime adapted now.
Signed-off-by: Charulatha V <charu@ti.com>
Signed-off-by: Tarun Kanti DebBarma <tarun.kanti@ti.com>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/gpio.c')
-rw-r--r-- | arch/arm/mach-omap2/gpio.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/gpio.c b/arch/arm/mach-omap2/gpio.c index dfda6b3478b2..1e0b750afcaa 100644 --- a/arch/arm/mach-omap2/gpio.c +++ b/arch/arm/mach-omap2/gpio.c @@ -136,8 +136,6 @@ static int omap2_gpio_dev_init(struct omap_hwmod *oh, void *unused) return PTR_ERR(pdev); } - omap_device_disable_idle_on_suspend(pdev); - return 0; } |