gpio: vf610: Pass irqchip when adding gpiochip
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 9 Aug 2019 14:19:16 +0000 (16:19 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 23 Aug 2019 07:41:18 +0000 (09:41 +0200)
commite599256ab78b99614b361b551145f3f95c9b3041
tree191fb94b24ec86173d57946c930c0b556fd5762f
parent49751efbf63024816d2791e2a173b35c3112f32d
gpio: vf610: 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: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Dong Aisheng <aisheng.dong@nxp.com>
Cc: Stefan Agner <stefan@agner.ch>
Cc: Thierry Reding <treding@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20190809141916.20999-1-linus.walleij@linaro.org
drivers/gpio/gpio-vf610.c