pinctrl: sirf/atlas7: Pass irqchip when adding gpiochip
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 13 Sep 2019 11:35:30 +0000 (13:35 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 30 Sep 2019 21:13:08 +0000 (23:13 +0200)
commit0074a66c11a07845d67f1172cca2dd816c279722
tree8388128ca02183da8bab05be08d8beca65489bdd
parentaead3991401b368021c59dbb44bbf1d3669b4f79
pinctrl: sirf/atlas7: 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: Barry Song <baohua@kernel.org>
Cc: Yuping Luo <yuping.luo@csr.com>
Cc: Rongjun Ying <rongjun.ying@csr.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-6-linus.walleij@linaro.org
drivers/pinctrl/sirf/pinctrl-atlas7.c