Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb8cdf95 authored by Grygorii Strashko's avatar Grygorii Strashko Committed by Linus Walleij
Browse files

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: default avatarGrygorii Strashko <grygorii.strashko@ti.com>
Acked-by: default avatarSantosh Shilimkar <ssantosh@kernel.org>
Tested-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 41d6bb4c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);
	}