summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2015-08-18 14:10:52 +0300
committerLinus Walleij <linus.walleij@linaro.org>2015-08-26 09:51:26 +0200
commitbb8cdf9510d5d2b67126b36747c51d531026215d (patch)
treea8f16fad67a3a7156744128fed502b1ed51058c9 /drivers/gpio
parent41d6bb4c890c8db01248b1bdd512a18e7bd29ca3 (diff)
downloadblackbird-op-linux-bb8cdf9510d5d2b67126b36747c51d531026215d.tar.gz
blackbird-op-linux-bb8cdf9510d5d2b67126b36747c51d531026215d.zip
gpio: omap: remove wrong irq_domain_remove usage in probe
The bank->chip.irqdomain is uninitialized at the moment when irq_domain_remove() is called, so remove this call. Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Acked-by: Santosh Shilimkar <ssantosh@kernel.org> Tested-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-omap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c
index 466fe70cf303..f38b01b5869c 100644
--- a/drivers/gpio/gpio-omap.c
+++ b/drivers/gpio/gpio-omap.c
@@ -1219,7 +1219,6 @@ static int omap_gpio_probe(struct platform_device *pdev)
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
bank->base = devm_ioremap_resource(dev, res);
if (IS_ERR(bank->base)) {
- irq_domain_remove(bank->chip.irqdomain);
return PTR_ERR(bank->base);
}
OpenPOWER on IntegriCloud