pinctrl: spear/plgpio: Pass irqchip when adding gpiochip
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 13 Sep 2019 11:35:27 +0000 (13:35 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 30 Sep 2019 21:12:43 +0000 (23:12 +0200)
commitface7c04b030e9de3c9ff9bd566603751ef6e26a
tree546d2b3c5ff0e9946e7a9232b3d5088355919f5d
parent835513b0fb2c482c92a85603b3991059f8f25b18
pinctrl: spear/plgpio: 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: Shiraz Hashim <shiraz.linux.kernel@gmail.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/20190913113530.5536-3-linus.walleij@linaro.org
drivers/pinctrl/spear/pinctrl-plgpio.c