gpio/omap: cleanup set_gpio_triggering function
authorTarun Kanti DebBarma <tarun.kanti@ti.com>
Tue, 13 Sep 2011 09:32:14 +0000 (15:02 +0530)
committerTarun Kanti DebBarma <tarun.kanti@ti.com>
Mon, 6 Feb 2012 08:43:42 +0000 (14:13 +0530)
commit5e571f38f6a44ef541fac0821631509d787ef0cd
treeeb19a3db74cae81d503ec8689fcc03bde8c27dfb
parentae10f2336b9c0c8da73da2878eba684ab876eb8f
gpio/omap: cleanup set_gpio_triggering function

Getting rid of ifdefs within the function by adding register offset intctrl
and associating OMAPXXXX_GPIO_INT_CONTROL in respective SoC specific files.
Also, use wkup_status register consistently instead of referring to wakeup
clear and wakeup set register offsets. Get rid of cpu_is_xxxx checks in
set_gpio_trigger() using irqctrl.

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>
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/gpio15xx.c
arch/arm/mach-omap1/gpio16xx.c
arch/arm/mach-omap1/gpio7xx.c
arch/arm/plat-omap/include/plat/gpio.h
drivers/gpio/gpio-omap.c
This page took 0.025227 seconds and 5 git commands to generate.