gpio: tc35892: Use irqchip template
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 16 Jul 2020 09:34:59 +0000 (11:34 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 20 Jul 2020 13:33:34 +0000 (15:33 +0200)
commit0fcfd9aa61034ac6f0352520379927bfc6576f1c
tree79ca6bb646edea5418d360c146ac7239d1dce8e4
parent80606cb24161d504acb4d89f406d68f72196575e
gpio: tc35892: 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>
Link: https://lore.kernel.org/r/20200716093459.76378-1-linus.walleij@linaro.org
drivers/gpio/gpio-tc3589x.c