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:
62205e0
)
Input: w90p910_keypad - remove redundant platform_set_drvdata()
author
Sachin Kamat
<
[email protected]
>
Mon, 6 May 2013 14:39:36 +0000
(07:39 -0700)
committer
Dmitry Torokhov
<
[email protected]
>
Wed, 8 May 2013 16:05:06 +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]
>
Cc: Wan ZongShun <
[email protected]
>
Signed-off-by: Dmitry Torokhov <
[email protected]
>
drivers/input/keyboard/w90p910_keypad.c
patch
|
blob
|
history
diff --git
a/drivers/input/keyboard/w90p910_keypad.c
b/drivers/input/keyboard/w90p910_keypad.c
index ee163bee8cce3c32e2ec3a50181dd4d1c56fafdb..72e6a56a2eba855cf6741831760cd7cba2c28757 100644
(file)
--- a/
drivers/input/keyboard/w90p910_keypad.c
+++ b/
drivers/input/keyboard/w90p910_keypad.c
@@
-249,7
+249,6
@@
static int w90p910_keypad_remove(struct platform_device *pdev)
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
release_mem_region(res->start, resource_size(res));
- platform_set_drvdata(pdev, NULL);
kfree(keypad);
return 0;