pinctrl: oxnas: Pass irqchip when adding gpiochip
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 2 Oct 2019 11:38:19 +0000 (13:38 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 16 Oct 2019 11:45:27 +0000 (13:45 +0200)
commit3aec5006c20d2927a0f7962103f7647d3e4a3381
tree8b52bd795e509b9e61028fc1dfd5f6e337679fa2
parentc77a4de2bbf36d26560c430a6578fdbdd04f6f9c
pinctrl: oxnas: 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: Neil Armstrong <narmstrong@baylibre.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20191002113819.4927-1-linus.walleij@linaro.org
drivers/pinctrl/pinctrl-oxnas.c