aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorTarun Kanti DebBarma <tarun.kanti@ti.com>2012-04-27 10:13:35 -0400
committerKevin Hilman <khilman@ti.com>2012-05-11 20:08:40 -0400
commitb1a8e3d2d198319e40318563ff80f95605da5a0e (patch)
tree2eeac762a9f980b9ae3f0221909e5cb5a3c9d7ad /drivers/gpio
parent499fa2871d95049c12362c27075672e8af988eb6 (diff)
gpio/omap: remove retrigger variable in gpio_irq_handler
commit 672e302e3c (ARM: OMAP: use edge/level handlers from generic IRQ framework) removed retrigger support in favor of using generic IRQ framework. This patch cleans up some unused remnants of that removal. Cc: Kevin Hilman <khilman@ti.com> Cc: Tony Lindgren <tony@atomide.com> Cc: Santosh Shilimkar <santosh.shilimkar@ti.com> Cc: Cousson, Benoit <b-cousson@ti.com> Cc: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Tarun Kanti DebBarma <tarun.kanti@ti.com> Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Acked-by: Felipe Balbi <balbi@ti.com> Tested-by: Govindraj.R <govindraj.raja@ti.com> Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-omap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c
index 8b6f1b9510eb..96d2aef409b9 100644
--- a/drivers/gpio/gpio-omap.c
+++ b/drivers/gpio/gpio-omap.c
@@ -636,7 +636,6 @@ static void gpio_irq_handler(unsigned int irq, struct irq_desc *desc)
636 u32 isr; 636 u32 isr;
637 unsigned int gpio_irq, gpio_index; 637 unsigned int gpio_irq, gpio_index;
638 struct gpio_bank *bank; 638 struct gpio_bank *bank;
639 u32 retrigger = 0;
640 int unmasked = 0; 639 int unmasked = 0;
641 struct irq_chip *chip = irq_desc_get_chip(desc); 640 struct irq_chip *chip = irq_desc_get_chip(desc);
642 641
@@ -673,8 +672,6 @@ static void gpio_irq_handler(unsigned int irq, struct irq_desc *desc)
673 chained_irq_exit(chip, desc); 672 chained_irq_exit(chip, desc);
674 } 673 }
675 674
676 isr |= retrigger;
677 retrigger = 0;
678 if (!isr) 675 if (!isr)
679 break; 676 break;
680 677