projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76692c9
)
watchdog: mpcore: Remove redundant platform_set_drvdata()
author
Sachin Kamat
<sachin.kamat@linaro.org>
Fri, 3 May 2013 20:11:15 +0000
(
01:41
+0530)
committer
Wim Van Sebroeck
<wim@iguana.be>
Thu, 11 Jul 2013 19:09:30 +0000
(21:09 +0200)
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: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/mpcore_wdt.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/watchdog/mpcore_wdt.c
b/drivers/watchdog/mpcore_wdt.c
index 233cfadcb21f55538310f938ff037b0dbd236225..4f5ac408c7a363b5043ed4e1df23c55b121a457d 100644
(file)
--- a/
drivers/watchdog/mpcore_wdt.c
+++ b/
drivers/watchdog/mpcore_wdt.c
@@
-379,8
+379,6
@@
static int mpcore_wdt_probe(struct platform_device *pdev)
static int mpcore_wdt_remove(struct platform_device *pdev)
{
- platform_set_drvdata(pdev, NULL);
-
misc_deregister(&mpcore_wdt_miscdev);
mpcore_wdt_pdev = NULL;