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:
18fc6f5
)
Input: mc13783-pwrbutton - remove redundant platform_set_drvdata()
author
Sachin Kamat
<
[email protected]
>
Mon, 6 May 2013 02:35:57 +0000
(19:35 -0700)
committer
Dmitry Torokhov
<
[email protected]
>
Mon, 6 May 2013 03:14:10 +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/misc/mc13783-pwrbutton.c
patch
|
blob
|
history
diff --git
a/drivers/input/misc/mc13783-pwrbutton.c
b/drivers/input/misc/mc13783-pwrbutton.c
index 0906ca593d5f3a90b751f23ace4380269fdabd7b..d0277a7b1579ffdb891135bc71b8c55bf35f723a 100644
(file)
--- a/
drivers/input/misc/mc13783-pwrbutton.c
+++ b/
drivers/input/misc/mc13783-pwrbutton.c
@@
-250,7
+250,6
@@
static int mc13783_pwrbutton_remove(struct platform_device *pdev)
input_unregister_device(priv->pwr);
kfree(priv);
- platform_set_drvdata(pdev, NULL);
return 0;
}