Input: tps6507x-ts - call input_unregister_device instead of input_free_device in tps6507x_ts_remove
Subsystems (2)
PATCH 1/1 Input: tps6507x-ts - call input_unregister_device instead of input_free_device in tps6507x_ts_remove
Signed-off-by Axel Lin <[email protected]>
--- drivers/input/touchscreen/tps6507x-ts.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/input/touchscreen/tps6507x-ts.c +1 -1
@@ -359,7 +359,7 @@ static int __devexit tps6507x_ts_remove(struct platform_device *pdev)cancel_delayed_work_sync (&tsc->work);destroy_workqueue (tsc->wq); -input_free_device (input_dev); +input_unregister_device (input_dev); tps6507x_dev->ts =NULL ;kfree (tsc);
Signature · 1 line
1.7.2