projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9e0436
)
watchdog: shwdt: Remove unused platform_set_drvdata()
author
Alexander Shiyan
<shc_work@mail.ru>
Sat, 29 Mar 2014 10:29:00 +0000
(14:29 +0400)
committer
Wim Van Sebroeck
<wim@iguana.be>
Tue, 10 Jun 2014 19:40:16 +0000
(21:40 +0200)
This patch removes platform_set_drvdata() which is not used in
the driver.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/shwdt.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/watchdog/shwdt.c
b/drivers/watchdog/shwdt.c
index d04d02b41c329d9de7467d110ad2f595125bdc79..061756e36cf8ddabeed3854b41aa615221bcb62e 100644
(file)
--- a/
drivers/watchdog/shwdt.c
+++ b/
drivers/watchdog/shwdt.c
@@
-282,8
+282,6
@@
static int sh_wdt_probe(struct platform_device *pdev)
wdt->timer.data = (unsigned long)wdt;
wdt->timer.expires = next_ping_period(clock_division_ratio);
- platform_set_drvdata(pdev, wdt);
-
dev_info(&pdev->dev, "initialized.\n");
pm_runtime_enable(&pdev->dev);