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:
Родитель
e300376d3c
Коммит
472f95b938
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче