gpio: zynq: Pass irqchip when adding gpiochip
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 9 Aug 2019 13:26:49 +0000 (15:26 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 27 Aug 2019 11:07:36 +0000 (13:07 +0200)
commitf6a7053ddcf1c05c443715d627507f0ab9a0b491
tree77337bb5ca16c9f8d1072aa4618a1bf4f72a11f1
parentf4e9bcc05f4e8d543afbfc0ca1fd4435a2204776
gpio: zynq: 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: Michal Simek <michal.simek@xilinx.com>
Cc: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Cc: Thierry Reding <treding@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20190809132649.25176-1-linus.walleij@linaro.org
drivers/gpio/gpio-zynq.c