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:
da1bfb4
)
Input: davinci_keyscan - remove redundant platform_set_drvdata()
author
Sachin Kamat
<
[email protected]
>
Mon, 6 May 2013 14:25:07 +0000
(07:25 -0700)
committer
Dmitry Torokhov
<
[email protected]
>
Wed, 8 May 2013 16:04:38 +0000
(09:04 -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/davinci_keyscan.c
patch
|
blob
|
history
diff --git
a/drivers/input/keyboard/davinci_keyscan.c
b/drivers/input/keyboard/davinci_keyscan.c
index 829753702b629dba6ae8081d3b6d409846e80919..d15977a8361ea5b007fa19e3a653600252a99cbd 100644
(file)
--- a/
drivers/input/keyboard/davinci_keyscan.c
+++ b/
drivers/input/keyboard/davinci_keyscan.c
@@
-314,8
+314,6
@@
static int davinci_ks_remove(struct platform_device *pdev)
iounmap(davinci_ks->base);
release_mem_region(davinci_ks->pbase, davinci_ks->base_size);
- platform_set_drvdata(pdev, NULL);
-
kfree(davinci_ks);
return 0;