gpio: cadence: Pass irqchip when adding gpiochip
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 9 Aug 2019 13:18:04 +0000 (15:18 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 15 Aug 2019 07:44:19 +0000 (09:44 +0200)
commit607a0dcddbdc5b147c595f6544e97bd8d9491c14
treee5639c515b5efd742e439f8d4d5fa5eab162e0b8
parenta7fc89f9d5fcc10a5474cfe555f5a9e5df8b0f1f
gpio: cadence: 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: Jan Kotas <jank@cadence.com>
Cc: Thierry Reding <treding@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Jan Kotas <jank@cadence.com>
Link: https://lore.kernel.org/r/20190809131804.20352-1-linus.walleij@linaro.org
drivers/gpio/gpio-cadence.c