summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-05-28 17:26:10 +0800
committerLinus Walleij <linus.walleij@linaro.org>2015-06-02 11:25:42 +0200
commit81d49ce8a8c1978009ec02963d1b0926a1d5f1d4 (patch)
tree134faf74b4efe2d8d7b67b6675befe6f890bdca0 /drivers/gpio
parent61e749d7e1627d375156553ea0ae83c4f6bb5a9b (diff)
downloadop-kernel-dev-81d49ce8a8c1978009ec02963d1b0926a1d5f1d4.zip
op-kernel-dev-81d49ce8a8c1978009ec02963d1b0926a1d5f1d4.tar.gz
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 <axel.lin@ingics.com> Acked-by: Christian Ruppert <christian.ruppert@alitech.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-tb10x.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-tb10x.c b/drivers/gpio/gpio-tb10x.c
index 46b8961..12c99d9 100644
--- a/drivers/gpio/gpio-tb10x.c
+++ b/drivers/gpio/gpio-tb10x.c
@@ -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);
OpenPOWER on IntegriCloud