]> git.karo-electronics.de Git - linux-beck.git/commitdiff
gpio: adnp: rename "virq" to "child_irq"
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 11 Oct 2013 17:10:00 +0000 (19:10 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 16 Oct 2013 07:59:10 +0000 (09:59 +0200)
This variable is confusingly named, the different Linux IRQs
aren't any more virtual than any other Linux IRQ. Give it a
non-misleading name.

Acked-by: Lars Poeschel <poeschel@lemonage.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-adnp.c

index 6439e0e5881c9933f9e71e841008e2e0f812ea8d..b204033acaebb4e3fe8489c487a95a5406343f9b 100644 (file)
@@ -325,9 +325,9 @@ static irqreturn_t adnp_irq(int irq, void *data)
                pending &= isr & ier;
 
                for_each_set_bit(bit, &pending, 8) {
-                       unsigned int virq;
-                       virq = irq_find_mapping(adnp->domain, base + bit);
-                       handle_nested_irq(virq);
+                       unsigned int child_irq;
+                       child_irq = irq_find_mapping(adnp->domain, base + bit);
+                       handle_nested_irq(child_irq);
                }
        }