aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-adnp.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2013-10-11 13:10:00 -0400
committerLinus Walleij <linus.walleij@linaro.org>2013-10-16 03:59:10 -0400
commit472f95b93860ef8ba562c6231ab8f6ff9d352a0e (patch)
treefb852918169ae859a66419472aaab0a72fee306a /drivers/gpio/gpio-adnp.c
parente300376d3c3a1ed473bd7312ec74aace8f7cd2f0 (diff)
gpio: adnp: rename "virq" to "child_irq"
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>
Diffstat (limited to 'drivers/gpio/gpio-adnp.c')
-rw-r--r--drivers/gpio/gpio-adnp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-adnp.c b/drivers/gpio/gpio-adnp.c
index 6439e0e5881c..b204033acaeb 100644
--- a/drivers/gpio/gpio-adnp.c
+++ b/drivers/gpio/gpio-adnp.c
@@ -325,9 +325,9 @@ static irqreturn_t adnp_irq(int irq, void *data)
325 pending &= isr & ier; 325 pending &= isr & ier;
326 326
327 for_each_set_bit(bit, &pending, 8) { 327 for_each_set_bit(bit, &pending, 8) {
328 unsigned int virq; 328 unsigned int child_irq;
329 virq = irq_find_mapping(adnp->domain, base + bit); 329 child_irq = irq_find_mapping(adnp->domain, base + bit);
330 handle_nested_irq(virq); 330 handle_nested_irq(child_irq);
331 } 331 }
332 } 332 }
333 333