]> Pileus Git - ~andy/linux/commit
gpio/omap: use level/edge detect reg offsets
authorTarun Kanti DebBarma <tarun.kanti@ti.com>
Tue, 30 Aug 2011 09:35:44 +0000 (15:05 +0530)
committerTarun Kanti DebBarma <tarun.kanti@ti.com>
Mon, 6 Feb 2012 08:43:41 +0000 (14:13 +0530)
commit9ea14d8cbbf1c8fc941e8e8a12aa0a3edc5c336e
treee31c48539315249da6ee68b16452d1f5abf2e6cb
parent6ed87c5b66ca81996fae2dae6d1e702d66b9832b
gpio/omap: use level/edge detect reg offsets

By adding level and edge detection register offsets and then initializing them
correctly according to OMAP versions during device registrations we can now remove
lot of revision checks in these functions.

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-omap2/gpio.c
arch/arm/plat-omap/include/plat/gpio.h
drivers/gpio/gpio-omap.c