gpio: pcf857x: Use irqchip template
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 17 Jul 2020 14:48:35 +0000 (16:48 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 20 Jul 2020 13:56:40 +0000 (15:56 +0200)
commit50787be3ad732d804ee3ce828ee83b725e6491c8
treeea2f3c5133e7cfd5e9cd8038a9328de38bd15c86
parentdfc3a26deb5c55db5d774b6ed83f6505285deb62
gpio: pcf857x: 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: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Anders Darander <anders@chargestorm.se>
Cc: Roger Quadros <rogerq@ti.com>
Link: https://lore.kernel.org/r/20200717144835.68150-1-linus.walleij@linaro.org
drivers/gpio/gpio-pcf857x.c