summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-xgs-iproc.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2020-01-13 23:08:00 +0100
committerLinus Walleij <linus.walleij@linaro.org>2020-01-23 15:54:32 +0100
commit72780ce5f1a4189f3c8dcfb1c596c65146452668 (patch)
tree60d38fe8f583f85b44b937496ef5fbdb6899a908 /drivers/gpio/gpio-xgs-iproc.c
parentpinctrl: freescale: Add i.MX8MP pinctrl driver support (diff)
downloadlinux-72780ce5f1a4189f3c8dcfb1c596c65146452668.tar.xz
linux-72780ce5f1a4189f3c8dcfb1c596c65146452668.zip
gpio: Drop the chained IRQ handler assign function
gpiochip_set_chained_irqchip() would assign a chained handler to a GPIO chip. We now populate struct gpio_irq_chip for all chained GPIO irqchips so drop this function. Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20200113220800.77817-1-linus.walleij@linaro.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-xgs-iproc.c')
-rw-r--r--drivers/gpio/gpio-xgs-iproc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-xgs-iproc.c b/drivers/gpio/gpio-xgs-iproc.c
index 773e5c24309e..55af83629cfc 100644
--- a/drivers/gpio/gpio-xgs-iproc.c
+++ b/drivers/gpio/gpio-xgs-iproc.c
@@ -251,8 +251,7 @@ static int iproc_gpio_probe(struct platform_device *pdev)
/*
* Directly request the irq here instead of passing
- * a flow-handler to gpiochip_set_chained_irqchip,
- * because the irq is shared.
+ * a flow-handler because the irq is shared.
*/
ret = devm_request_irq(dev, irq, iproc_gpio_irq_handler,
IRQF_SHARED, chip->gc.label, &chip->gc);