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

Commit 81d49ce8 authored by Axel Lin's avatar Axel Lin Committed by Linus Walleij
Browse files

gpio: tb10x: Drop unneeded free_irq() call



Current code uses devm_request_irq() in .probe, so drop the unneeded
free_irq() call in .remove.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarChristian Ruppert <christian.ruppert@alitech.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 61e749d7
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -292,7 +292,6 @@ static int tb10x_gpio_remove(struct platform_device *pdev)
					BIT(tb10x_gpio->gc.ngpio) - 1, 0, 0);
		kfree(tb10x_gpio->domain->gc);
		irq_domain_remove(tb10x_gpio->domain);
		free_irq(tb10x_gpio->irq, tb10x_gpio);
	}
	gpiochip_remove(&tb10x_gpio->gc);