aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2013-08-13 03:16:56 -0400
committerLinus Walleij <linus.walleij@linaro.org>2013-08-16 11:14:29 -0400
commit388f4308412574268d38010d877575f8caebad79 (patch)
treeaa827215ba9189b30f9204f5ee174afbe7e3ea2f /drivers/gpio
parentb168386eaf560bf13fcf2c166453714e779f763e (diff)
drivers/gpio/gpio-omap.c: convert comma to semicolon
Replace a comma between expression statements by a semicolon. This changes the semantics of the code, but given the current indentation appears to be what is intended. A simplified version of the semantic patch that performs this transformation is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r@ expression e1,e2,e; type T; identifier i; @@ e1 -, +; e2; // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Acked-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-omap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c
index 867efe57b038..0ff43552d472 100644
--- a/drivers/gpio/gpio-omap.c
+++ b/drivers/gpio/gpio-omap.c
@@ -1030,7 +1030,7 @@ omap_mpuio_alloc_gc(struct gpio_bank *bank, unsigned int irq_start,
1030 ct->chip.irq_set_type = gpio_irq_type; 1030 ct->chip.irq_set_type = gpio_irq_type;
1031 1031
1032 if (bank->regs->wkup_en) 1032 if (bank->regs->wkup_en)
1033 ct->chip.irq_set_wake = gpio_wake_enable, 1033 ct->chip.irq_set_wake = gpio_wake_enable;
1034 1034
1035 ct->regs.mask = OMAP_MPUIO_GPIO_INT / bank->stride; 1035 ct->regs.mask = OMAP_MPUIO_GPIO_INT / bank->stride;
1036 irq_setup_generic_chip(gc, IRQ_MSK(num), IRQ_GC_INIT_MASK_CACHE, 1036 irq_setup_generic_chip(gc, IRQ_MSK(num), IRQ_GC_INIT_MASK_CACHE,