projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ffb064
)
Input: ab8500-ponkey - remove redundant platform_set_drvdata()
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 6 May 2013 02:34:17 +0000
(19:34 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Mon, 6 May 2013 03:13:43 +0000
(20:13 -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/misc/ab8500-ponkey.c
patch
|
blob
|
history
diff --git
a/drivers/input/misc/ab8500-ponkey.c
b/drivers/input/misc/ab8500-ponkey.c
index
2f090b4
..
f2fbdd8
100644
(file)
--- a/
drivers/input/misc/ab8500-ponkey.c
+++ b/
drivers/input/misc/ab8500-ponkey.c
@@
-127,8
+127,6
@@
static int ab8500_ponkey_remove(struct platform_device *pdev)
input_unregister_device(ponkey->idev);
kfree(ponkey);
- platform_set_drvdata(pdev, NULL);
-
return 0;
}