projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7977444
)
Input: ti_am335x_tsc - remove redundant platform_set_drvdata()
author
Sachin Kamat
<
[email protected]
>
Mon, 6 May 2013 02:41:05 +0000
(19:41 -0700)
committer
Dmitry Torokhov
<
[email protected]
>
Mon, 6 May 2013 03:14:56 +0000
(20:14 -0700)
Commit
0998d06310
(device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.
Signed-off-by: Sachin Kamat <
[email protected]
>
Signed-off-by: Dmitry Torokhov <
[email protected]
>
drivers/input/touchscreen/ti_am335x_tsc.c
patch
|
blob
|
history
diff --git
a/drivers/input/touchscreen/ti_am335x_tsc.c
b/drivers/input/touchscreen/ti_am335x_tsc.c
index 51e7b87827a45ff0bd1c5335d2dc7b7b0ce70d8a..50fb1293874e56053435f55a312b7e869ddfb6f8 100644
(file)
--- a/
drivers/input/touchscreen/ti_am335x_tsc.c
+++ b/
drivers/input/touchscreen/ti_am335x_tsc.c
@@
-336,7
+336,6
@@
static int titsc_remove(struct platform_device *pdev)
input_unregister_device(ts_dev->input);
- platform_set_drvdata(pdev, NULL);
kfree(ts_dev);
return 0;
}