gpio: ep93xx: Pass irqchip when adding gpiochip
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 12 Aug 2019 13:00:00 +0000 (15:00 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 4 Sep 2019 08:59:10 +0000 (10:59 +0200)
commitd2b0919615108ea2da7749f8b6b4ca6a0fce0baa
tree444aec75ecb0dd49e320f084f7398015e732a4c7
parent8a6abcd04e4cdf6088f11212570c3e5ec36ee5c3
gpio: ep93xx: 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: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Cc: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Thierry Reding <treding@nvidia.com>
Tested-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20190812130000.22252-1-linus.walleij@linaro.org
drivers/gpio/gpio-ep93xx.c