diff options
author | Marc Zyngier <maz@kernel.org> | 2021-05-04 18:42:18 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-08-12 12:39:38 +0200 |
commit | dbd1c54fc82051bf7f3271b43517281f5b2cff51 (patch) | |
tree | a68e4e068b8197831200a893c7d438ab50fda122 /drivers/gpio/gpio-ftgpio010.c | |
parent | Documentation: Update irq_domain.rst with new lookup APIs (diff) | |
download | linux-dbd1c54fc82051bf7f3271b43517281f5b2cff51.tar.xz linux-dbd1c54fc82051bf7f3271b43517281f5b2cff51.zip |
gpio: Bulk conversion to generic_handle_domain_irq()
Wherever possible, replace constructs that match either
generic_handle_irq(irq_find_mapping()) or
generic_handle_irq(irq_linear_revmap()) to a single call to
generic_handle_domain_irq().
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'drivers/gpio/gpio-ftgpio010.c')
-rw-r--r-- | drivers/gpio/gpio-ftgpio010.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-ftgpio010.c b/drivers/gpio/gpio-ftgpio010.c index 4031164780f7..b90a45c939a4 100644 --- a/drivers/gpio/gpio-ftgpio010.c +++ b/drivers/gpio/gpio-ftgpio010.c @@ -149,8 +149,7 @@ static void ftgpio_gpio_irq_handler(struct irq_desc *desc) stat = readl(g->base + GPIO_INT_STAT_RAW); if (stat) for_each_set_bit(offset, &stat, gc->ngpio) - generic_handle_irq(irq_find_mapping(gc->irq.domain, - offset)); + generic_handle_domain_irq(gc->irq.domain, offset); chained_irq_exit(irqchip, desc); } |