diff options
Diffstat (limited to 'drivers/gpio/gpio-max730x.c')
-rw-r--r-- | drivers/gpio/gpio-max730x.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-max730x.c b/drivers/gpio/gpio-max730x.c index 18ab89e20806..0f57d2d248ec 100644 --- a/drivers/gpio/gpio-max730x.c +++ b/drivers/gpio/gpio-max730x.c | |||
@@ -236,7 +236,6 @@ int __max730x_remove(struct device *dev) | |||
236 | ts->write(dev, 0x04, 0x00); | 236 | ts->write(dev, 0x04, 0x00); |
237 | gpiochip_remove(&ts->chip); | 237 | gpiochip_remove(&ts->chip); |
238 | mutex_destroy(&ts->lock); | 238 | mutex_destroy(&ts->lock); |
239 | kfree(ts); | ||
240 | return 0; | 239 | return 0; |
241 | } | 240 | } |
242 | EXPORT_SYMBOL_GPL(__max730x_remove); | 241 | EXPORT_SYMBOL_GPL(__max730x_remove); |