pinctrl: nuvoton: npcm7xx: Pass irqchip when adding gpiochip
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 13 Sep 2019 11:35:28 +0000 (13:35 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 30 Sep 2019 21:13:08 +0000 (23:13 +0200)
commitde0221f620e973c0ef9a5acbc0c0621ab28c31c5
tree21689a07561d363207a45570421e400b909a11aa
parentface7c04b030e9de3c9ff9bd566603751ef6e26a
pinctrl: nuvoton: npcm7xx: 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: Tomer Maimon <tmaimon77@gmail.com>
Cc: Kun Yi <kunyi@google.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20190913113530.5536-4-linus.walleij@linaro.org
drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c