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:
16e263a
)
Input: xilinx_ps2 - remove redundant platform_set_drvdata()
author
Sachin Kamat
<sachin.kamat@linaro.org>
Tue, 28 May 2013 06:40:33 +0000
(23:40 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Tue, 28 May 2013 07:57:48 +0000
(
00:57
-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 <sachin.kamat@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/xilinx_ps2.c
patch
|
blob
|
history
diff --git
a/drivers/input/serio/xilinx_ps2.c
b/drivers/input/serio/xilinx_ps2.c
index 17be85948ffd850a3684531cdaa0fbd890634faa..4b7662a17ae90226bce968651f0a084f3c90826f 100644
(file)
--- a/
drivers/input/serio/xilinx_ps2.c
+++ b/
drivers/input/serio/xilinx_ps2.c
@@
-349,8
+349,6
@@
static int xps2_of_remove(struct platform_device *of_dev)
kfree(drvdata);
- platform_set_drvdata(of_dev, NULL);
-
return 0;
}