summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/stmpe-ts.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-09-02 19:52:49 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-09-02 20:14:14 -0700
commit843cbfa74f1a443ce0def7fcc799803f34faa71c (patch)
tree07c8aec14d5faba8612430981ae8868dcd8b49e2 /drivers/input/touchscreen/stmpe-ts.c
parentb496acb7fe567546d414fb9807524ab92828ca25 (diff)
Input: stmpe-ts - remove input_free_device() in stmpe_ts_remove()
It is forbidden to call input_free_device() after input_unregister_device(). Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/touchscreen/stmpe-ts.c')
-rw-r--r--drivers/input/touchscreen/stmpe-ts.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/stmpe-ts.c b/drivers/input/touchscreen/stmpe-ts.c
index 656148ec002..0339d1d0d29 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);