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:
86066e6
)
Input: spear-keyboard - remove redundant platform_set_drvdata()
author
Sachin Kamat
<
[email protected]
>
Mon, 6 May 2013 14:39:01 +0000
(07:39 -0700)
committer
Dmitry Torokhov
<
[email protected]
>
Wed, 8 May 2013 16:05:02 +0000
(09:05 -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/keyboard/spear-keyboard.c
patch
|
blob
|
history
diff --git
a/drivers/input/keyboard/spear-keyboard.c
b/drivers/input/keyboard/spear-keyboard.c
index cb1e8f614631582b342546458d9c1fc462b55df7..7111124b53621de7c5de1df601f1d1fba6f8505f 100644
(file)
--- a/
drivers/input/keyboard/spear-keyboard.c
+++ b/
drivers/input/keyboard/spear-keyboard.c
@@
-290,7
+290,6
@@
static int spear_kbd_remove(struct platform_device *pdev)
clk_unprepare(kbd->clk);
device_init_wakeup(&pdev->dev, 0);
- platform_set_drvdata(pdev, NULL);
return 0;
}