gpio: adp5588: Use irqchip template
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 16 Jul 2020 15:05:02 +0000 (17:05 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 20 Jul 2020 13:47:50 +0000 (15:47 +0200)
commitdfc3a26deb5c55db5d774b6ed83f6505285deb62
tree99d1fd619bd6ef941509f65c00a08a3a9af4697a
parent565a0e9ab8131a00f3317998722b9c0d67d7e016
gpio: adp5588: 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>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Cc: Nikolaus Voss <nv@vosn.de>
Cc: Michael Hennerich <michael.hennerich@analog.com>
Link: https://lore.kernel.org/r/20200716150502.195821-1-linus.walleij@linaro.org
drivers/gpio/gpio-adp5588.c