* [PATCH] Input: tps6507x-ts - call input_unregister_device instead of input_free_device in tps6507x_ts_remove
@ 2010-09-03 1:08 Axel Lin
0 siblings, 0 replies; only message in thread
From: Axel Lin @ 2010-09-03 1:08 UTC (permalink / raw)
To: linux-kernel; +Cc: Todd Fischer, Dmitry Torokhov, linux-input
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
drivers/input/touchscreen/tps6507x-ts.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/input/touchscreen/tps6507x-ts.c b/drivers/input/touchscreen/tps6507x-ts.c
index 7286209..c8c136c 100644
--- a/drivers/input/touchscreen/tps6507x-ts.c
+++ b/drivers/input/touchscreen/tps6507x-ts.c
@@ -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);
--
1.7.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-09-03 1:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-03 1:08 [PATCH] Input: tps6507x-ts - call input_unregister_device instead of input_free_device in tps6507x_ts_remove Axel Lin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).