diff options
Diffstat (limited to 'drivers/input/touchscreen/tps6507x-ts.c')
-rw-r--r-- | drivers/input/touchscreen/tps6507x-ts.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/input/touchscreen/tps6507x-ts.c b/drivers/input/touchscreen/tps6507x-ts.c index 5b70a1419b4d..a644d18c04dc 100644 --- a/drivers/input/touchscreen/tps6507x-ts.c +++ b/drivers/input/touchscreen/tps6507x-ts.c | |||
@@ -355,9 +355,6 @@ static int __devexit tps6507x_ts_remove(struct platform_device *pdev) | |||
355 | struct tps6507x_ts *tsc = tps6507x_dev->ts; | 355 | struct tps6507x_ts *tsc = tps6507x_dev->ts; |
356 | struct input_dev *input_dev = tsc->input_dev; | 356 | struct input_dev *input_dev = tsc->input_dev; |
357 | 357 | ||
358 | if (!tsc) | ||
359 | return 0; | ||
360 | |||
361 | cancel_delayed_work_sync(&tsc->work); | 358 | cancel_delayed_work_sync(&tsc->work); |
362 | destroy_workqueue(tsc->wq); | 359 | destroy_workqueue(tsc->wq); |
363 | 360 | ||