diff mbox

[1/2] Input: stmpe-ts - remove input_free_device() in stmpe_ts_remove()

Message ID 1283477451.5439.6.camel@mola (mailing list archive)
State Accepted
Commit 843cbfa74f1a443ce0def7fcc799803f34faa71c
Headers show

Commit Message

axel lin Sept. 3, 2010, 1:30 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/input/touchscreen/stmpe-ts.c b/drivers/input/touchscreen/stmpe-ts.c
index 656148e..0339d1d 100644
--- a/drivers/input/touchscreen/stmpe-ts.c
+++ b/drivers/input/touchscreen/stmpe-ts.c
@@ -361,7 +361,6 @@  static int __devexit stmpe_ts_remove(struct platform_device *pdev)
 	platform_set_drvdata(pdev, NULL);
 
 	input_unregister_device(ts->idev);
-	input_free_device(ts->idev);
 
 	kfree(ts);