summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/gpio.c
diff options
context:
space:
mode:
authorTarun Kanti DebBarma <tarun.kanti@ti.com>2011-09-29 07:23:22 +0530
committerTarun Kanti DebBarma <tarun.kanti@ti.com>2012-02-06 14:13:44 +0530
commit55b93c32520dc7ff0097db81db9b1e6b735951a9 (patch)
tree49b2c64c5a0d32382e1980245b601d47ff500c30 /arch/arm/mach-omap2/gpio.c
parentec9af5d9f9399ceb340ee26afcc7d23e9d2a94c2 (diff)
downloadlinux-stable-55b93c32520dc7ff0097db81db9b1e6b735951a9.tar.gz
linux-stable-55b93c32520dc7ff0097db81db9b1e6b735951a9.tar.bz2
linux-stable-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.c2
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;
}