projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bba5394
)
Input: s3c2410_ts - fix s3c2410ts_probe error path
author
Axel Lin
<axel.lin@gmail.com>
Thu, 2 Sep 2010 17:26:31 +0000
(10:26 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Fri, 3 Sep 2010 03:11:52 +0000
(20:11 -0700)
Use input_free_device() to free devices that have not been registered.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/s3c2410_ts.c
patch
|
blob
|
history
diff --git
a/drivers/input/touchscreen/s3c2410_ts.c
b/drivers/input/touchscreen/s3c2410_ts.c
index 6085d12fd56196e0e47873bade9b4880ab5ca356..8feb7f3c8be17d19f40108d9ad3eddf4450ad309 100644
(file)
--- a/
drivers/input/touchscreen/s3c2410_ts.c
+++ b/
drivers/input/touchscreen/s3c2410_ts.c
@@
-350,7
+350,7
@@
static int __devinit s3c2410ts_probe(struct platform_device *pdev)
err_tcirq:
free_irq(ts.irq_tc, ts.input);
err_inputdev:
- input_
unregister
_device(ts.input);
+ input_
free
_device(ts.input);
err_iomap:
iounmap(ts.io);
err_clk: