mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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: Axel Lin <[email protected]> Acked-by: Christian Ruppert <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
61e749d7e1
commit
81d49ce8a8
1 changed files with 0 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue