diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-05-28 11:26:10 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-06-02 11:25:42 +0200 |
commit | 81d49ce8a8c1978009ec02963d1b0926a1d5f1d4 (patch) | |
tree | 134faf74b4efe2d8d7b67b6675befe6f890bdca0 /drivers/gpio | |
parent | gpio: crystalcove: set IRQCHIP_SKIP_SET_WAKE for the irqchip (diff) | |
download | linux-81d49ce8a8c1978009ec02963d1b0926a1d5f1d4.tar.xz linux-81d49ce8a8c1978009ec02963d1b0926a1d5f1d4.zip |
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-tb10x.c b/drivers/gpio/gpio-tb10x.c index 46b89614aa91..12c99d969b98 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); |