]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit09778995e527cd6cb67d7537b688f2831b437e26
tree9777d3590493f095d8f14c31d2676f73b8d97485
parenta27a94d88ad4094a24c1825d8d14926173470447
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