projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.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
|
blame
|
history
diff --git
a/drivers/input/touchscreen/stmpe-ts.c
b/drivers/input/touchscreen/stmpe-ts.c
index 656148ec00277d32ee2c7b2d24e6dba673375efb..0339d1d0d29ebfd3d056ae238e38d52b1042ef3e 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);