projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f4753d
)
watchdog: omap_wdt: delete redundant platform_set_drvdata() calls
author
Aaro Koskinen
<aaro.koskinen@iki.fi>
Wed, 10 Oct 2012 20:23:36 +0000
(23:23 +0300)
committer
Wim Van Sebroeck
<wim@iguana.be>
Wed, 19 Dec 2012 21:24:57 +0000
(22:24 +0100)
It's not needed to manually reset the driver data.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/omap_wdt.c
patch
|
blob
|
history
diff --git
a/drivers/watchdog/omap_wdt.c
b/drivers/watchdog/omap_wdt.c
index 2a6c434cd7413917dccd2a989491e10cdc2d75a1..1474c2bd3077d908cfe46466fe4709b04909ed6a 100644
(file)
--- a/
drivers/watchdog/omap_wdt.c
+++ b/
drivers/watchdog/omap_wdt.c
@@
-278,7
+278,6
@@
static int omap_wdt_probe(struct platform_device *pdev)
err_register:
pm_runtime_disable(wdev->dev);
- platform_set_drvdata(pdev, NULL);
return ret;
}
@@
-304,7
+303,6
@@
static int omap_wdt_remove(struct platform_device *pdev)
pm_runtime_disable(wdev->dev);
watchdog_unregister_device(wdog);
- platform_set_drvdata(pdev, NULL);
return 0;
}