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>
This commit is contained in:
parent
e300376d3c
commit
472f95b938
|
@ -325,9 +325,9 @@ static irqreturn_t adnp_irq(int irq, void *data)
|
||||||
pending &= isr & ier;
|
pending &= isr & ier;
|
||||||
|
|
||||||
for_each_set_bit(bit, &pending, 8) {
|
for_each_set_bit(bit, &pending, 8) {
|
||||||
unsigned int virq;
|
unsigned int child_irq;
|
||||||
virq = irq_find_mapping(adnp->domain, base + bit);
|
child_irq = irq_find_mapping(adnp->domain, base + bit);
|
||||||
handle_nested_irq(virq);
|
handle_nested_irq(child_irq);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue