pinctrl: ocelot: Pass irqchip when adding gpiochip
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 2 Oct 2019 11:44:54 +0000 (13:44 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 16 Oct 2019 13:03:40 +0000 (15:03 +0200)
commitd874beca9f4e8c93cfe9b18570f65ee3c50275f3
tree08d3bf915470066868445aa33f27dccba6981ba9
parent3aec5006c20d2927a0f7962103f7647d3e4a3381
pinctrl: ocelot: 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>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20191002114454.9684-1-linus.walleij@linaro.org
drivers/pinctrl/pinctrl-ocelot.c