gpio: rcar: Use irqchip template
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 22 Jul 2020 11:31:41 +0000 (13:31 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 29 Jul 2020 22:13:10 +0000 (00:13 +0200)
commitb470cef1ffac1acc327fe3343a2ce3ef3a526a21
tree701bab1200538834db29b66a0323ae20b1af511f
parenta070bdbbb06d7787ec7844a4f1e059cf8b55205d
gpio: rcar: Use irqchip template

This makes the driver use the irqchip template to assign
properties to the gpio_irq_chip instead of using the
explicit call to gpiochip_irqchip_add().

The irqchip is instead added while adding the gpiochip.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Biju Das <biju.das@bp.renesas.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20200722113141.243163-1-linus.walleij@linaro.org
drivers/gpio/gpio-rcar.c