diff options
Diffstat (limited to 'drivers/input/touchscreen/ti_am335x_tsc.c')
-rw-r--r-- | drivers/input/touchscreen/ti_am335x_tsc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/ti_am335x_tsc.c b/drivers/input/touchscreen/ti_am335x_tsc.c index 51e7b87827a4..50fb1293874e 100644 --- a/drivers/input/touchscreen/ti_am335x_tsc.c +++ b/drivers/input/touchscreen/ti_am335x_tsc.c | |||
@@ -336,7 +336,6 @@ static int titsc_remove(struct platform_device *pdev) | |||
336 | 336 | ||
337 | input_unregister_device(ts_dev->input); | 337 | input_unregister_device(ts_dev->input); |
338 | 338 | ||
339 | platform_set_drvdata(pdev, NULL); | ||
340 | kfree(ts_dev); | 339 | kfree(ts_dev); |
341 | return 0; | 340 | return 0; |
342 | } | 341 | } |