pinctrl: ingenic: Pass irqchip when adding gpiochip
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 1 Oct 2019 13:32:09 +0000 (15:32 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 16 Oct 2019 13:56:18 +0000 (15:56 +0200)
commit142b876750a97b883f1c29e1ceae08adfe38c97c
treea0872fe25d71bda77e15a09e409b8e185c0cb020
parentb587c30a5f29ad24f0175089af374dedfcadc495
pinctrl: ingenic: Pass irqchip when adding gpiochip

We need to convert all old gpio irqchips to pass the irqchip
setup along when adding the gpio_chip. For more info see
drivers/gpio/TODO.

For chained irqchips this is a pretty straight-forward
conversion.

Cc: Thierry Reding <thierry.reding@gmail.com>
Acked-by: Zhou Yanjie <zhouyanjie@zoho.com>
Acked-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20191001133209.17164-1-linus.walleij@linaro.org
drivers/pinctrl/pinctrl-ingenic.c