OSDN Git Service

gpio: intel-mid: Pass irqchip when adding gpiochip
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 11 Aug 2019 08:05:39 +0000 (10:05 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 12 Aug 2019 17:39:26 +0000 (20:39 +0300)
commit8069e69a9792402b52eff61e5bb874fa94798fc9
tree0dfbdffdf90b53cde3fe332c078ba3df0af6a828
parenta7db285664dda63e066b943e6ec3c5f69473bf77
gpio: intel-mid: 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-intel-mid.c