diff options
Diffstat (limited to 'drivers/gpio/gpio-tc3589x.c')
-rw-r--r-- | drivers/gpio/gpio-tc3589x.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-tc3589x.c b/drivers/gpio/gpio-tc3589x.c index d34d80dfb083..4a5de273c230 100644 --- a/drivers/gpio/gpio-tc3589x.c +++ b/drivers/gpio/gpio-tc3589x.c | |||
@@ -407,7 +407,6 @@ static int tc3589x_gpio_remove(struct platform_device *pdev) | |||
407 | 407 | ||
408 | free_irq(irq, tc3589x_gpio); | 408 | free_irq(irq, tc3589x_gpio); |
409 | 409 | ||
410 | platform_set_drvdata(pdev, NULL); | ||
411 | kfree(tc3589x_gpio); | 410 | kfree(tc3589x_gpio); |
412 | 411 | ||
413 | return 0; | 412 | return 0; |