From: Tarun Kanti DebBarma Date: Tue, 13 Sep 2011 09:32:14 +0000 (+0530) Subject: gpio/omap: cleanup set_gpio_triggering function X-Git-Tag: v3.4-rc1~65^2~24^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e571f38f6a44ef541fac0821631509d787ef0cd;p=pandora-kernel.git 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 Signed-off-by: Tarun Kanti DebBarma Reviewed-by: Santosh Shilimkar Acked-by: Tony Lindgren Reviewed-by: Kevin Hilman Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed