gpio: merrifield: Pass irqchip when adding gpiochip
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 12 Aug 2019 08:23:31 +0000 (10:23 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 12 Aug 2019 17:39:27 +0000 (20:39 +0300)
commit8f86a5b4ad679e4836733b47414226074eee4e4d
tree6e359d21f79563f06012e6b8c729626f60b28481
parent7b1e889436a156c2c88953fbc5602a64a75889bd
gpio: merrifield: 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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: David Cohen <david.a.cohen@linux.intel.com>
Cc: Thierry Reding <treding@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/gpio-merrifield.c