diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2015-08-18 13:10:52 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-08-26 09:51:26 +0200 |
commit | bb8cdf9510d5d2b67126b36747c51d531026215d (patch) | |
tree | a8f16fad67a3a7156744128fed502b1ed51058c9 /drivers/gpio/gpio-omap.c | |
parent | gpiolib: add description for gpio irqchip fields in struct gpio_chip (diff) | |
download | linux-bb8cdf9510d5d2b67126b36747c51d531026215d.tar.xz 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/gpio-omap.c')
-rw-r--r-- | drivers/gpio/gpio-omap.c | 1 |
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); } |