git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b496acb
)
Input: stmpe-ts - remove input_free_device() in stmpe_ts_remove()
author
Axel Lin
<axel.lin@gmail.com>
Fri, 3 Sep 2010 02:52:49 +0000
(19:52 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Fri, 3 Sep 2010 03:14:14 +0000
(20:14 -0700)
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>
drivers/input/touchscreen/stmpe-ts.c
patch
|
blob
|
history
diff --git
a/drivers/input/touchscreen/stmpe-ts.c
b/drivers/input/touchscreen/stmpe-ts.c
index
656148e
..
0339d1d
100644
(file)
--- 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);