gpio: adnp: Use irqchip template
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 16 Jul 2020 12:03:18 +0000 (14:03 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 20 Jul 2020 13:34:59 +0000 (15:34 +0200)
commit565a0e9ab8131a00f3317998722b9c0d67d7e016
tree9777d3590493f095d8f14c31d2676f73b8d97485
parent9745079609dfa14c8d88f88d06d7e720b0f29acd
gpio: adnp: Use irqchip template

This makes the driver use the irqchip template to assign
properties to the gpio_irq_chip instead of using the
explicit calls to gpiochip_irqchip_add_nested() and
gpiochip_set_nested_irqchip(). The irqchip is instead
added while adding the gpiochip.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Roland Stigge <stigge@antcom.de>
Cc: Lars Poeschel <poeschel@lemonage.de>
Link: https://lore.kernel.org/r/20200716120318.127176-1-linus.walleij@linaro.org
drivers/gpio/gpio-adnp.c