aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorKevin Hilman <khilman@ti.com>2011-04-21 08:44:45 -0700
committerNishanth Menon <nm@ti.com>2011-07-14 11:53:08 -0700
commit322c5a99119437c26058193c469c8987a2157681 (patch)
tree5e262a697ede3b60f2a2d2bb949eb97d03c6e4d7 /drivers/gpio
parentb5c702e4b041701d4a3bf42f2e71258490ab84fb (diff)
downloadkernel_samsung_tuna-322c5a99119437c26058193c469c8987a2157681.zip
kernel_samsung_tuna-322c5a99119437c26058193c469c8987a2157681.tar.gz
kernel_samsung_tuna-322c5a99119437c26058193c469c8987a2157681.tar.bz2
GPIO: OMAP: remove MPUIO handling from _clear_gpio_irqbank()
Remove the OMAP1 #ifdef and MPUIO special case for _clear_gpio_irqbank() The MPUIOs do not need a register access to ack/clear the IRQ status, since reading the IRQ status clears it. In addition, the MPUIO irq_chip has an empty ack method, so _clear_gpio_irqbank() is never used for MPUIOs. Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-omap.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c
index 48bc35a..d0317df 100644
--- a/drivers/gpio/gpio-omap.c
+++ b/drivers/gpio/gpio-omap.c
@@ -660,12 +660,6 @@ static void _clear_gpio_irqbank(struct gpio_bank *bank, int gpio_mask)
void __iomem *reg = bank->base;
switch (bank->method) {
-#ifdef CONFIG_ARCH_OMAP1
- case METHOD_MPUIO:
- /* MPUIO irqstatus is reset by reading the status register,
- * so do nothing here */
- return;
-#endif
#ifdef CONFIG_ARCH_OMAP15XX
case METHOD_GPIO_1510:
reg += OMAP1510_GPIO_INT_STATUS;