gpio: max732x: Use irqchip template
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 26 Jul 2020 22:12:59 +0000 (00:12 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 3 Aug 2020 23:12:43 +0000 (01:12 +0200)
commitbb58a47a120b888de6b996472b282fea02210f38
tree39cb84719df1435550e4022da7140fa958435c2a
parentbeb3fb41659a3cff2121f126a83fd7167b601a63
gpio: max732x: 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>
Tested-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Cc: Sam Protsenko <semen.protsenko@linaro.org>
Link: https://lore.kernel.org/r/20200726221259.133536-1-linus.walleij@linaro.org
drivers/gpio/gpio-max732x.c