aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-03-29 06:29:00 -0400
committerWim Van Sebroeck <wim@iguana.be>2014-06-10 15:40:16 -0400
commitff4e0ae5feaffd69ecf115555c6437cf4f71f806 (patch)
treefc44cfe73075129c5b19ca6e80bb05b0dbf2bb2f /drivers/watchdog
parenta9e0436b303e94ba57d3bd4b1fcbeaa744b7ebeb (diff)
watchdog: shwdt: Remove unused platform_set_drvdata()
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>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/shwdt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/watchdog/shwdt.c b/drivers/watchdog/shwdt.c
index d04d02b41c32..061756e36cf8 100644
--- a/drivers/watchdog/shwdt.c
+++ b/drivers/watchdog/shwdt.c
@@ -282,8 +282,6 @@ static int sh_wdt_probe(struct platform_device *pdev)
282 wdt->timer.data = (unsigned long)wdt; 282 wdt->timer.data = (unsigned long)wdt;
283 wdt->timer.expires = next_ping_period(clock_division_ratio); 283 wdt->timer.expires = next_ping_period(clock_division_ratio);
284 284
285 platform_set_drvdata(pdev, wdt);
286
287 dev_info(&pdev->dev, "initialized.\n"); 285 dev_info(&pdev->dev, "initialized.\n");
288 286
289 pm_runtime_enable(&pdev->dev); 287 pm_runtime_enable(&pdev->dev);