]> git.karo-electronics.de Git - linux-beck.git/commit
gpio/omap: further cleanup using wkup_en register
authorTarun Kanti DebBarma <tarun.kanti@ti.com>
Tue, 13 Sep 2011 09:11:44 +0000 (14:41 +0530)
committerTarun Kanti DebBarma <tarun.kanti@ti.com>
Mon, 6 Feb 2012 08:43:41 +0000 (14:13 +0530)
commit6ed87c5b66ca81996fae2dae6d1e702d66b9832b
treeaf6b3cfb3ec6627ebc7fec876abf470dd8482bec
parentc8eef65a2fc311f8edca47f2e4ac2cccb70eb192
gpio/omap: further cleanup using wkup_en register

Wakeup enable register offset initialized according to OMAP versions
during device registration. Use this to avoid version checks.
Starting with OMAP4, legacy registers should not be used in combination
with the updated regsiters. Use wkup_en register consistently for
all SoCs wherever applicable.

Signed-off-by: Tarun Kanti DebBarma <tarun.kanti@ti.com>
Signed-off-by: Charulatha V <charu@ti.com>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap1/gpio16xx.c
arch/arm/mach-omap2/gpio.c
arch/arm/plat-omap/include/plat/gpio.h
drivers/gpio/gpio-omap.c