summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-03-29 14:29:00 +0400
committerWim Van Sebroeck <wim@iguana.be>2014-06-10 21:40:16 +0200
commitff4e0ae5feaffd69ecf115555c6437cf4f71f806 (patch)
treefc44cfe73075129c5b19ca6e80bb05b0dbf2bb2f /drivers/watchdog
parenta9e0436b303e94ba57d3bd4b1fcbeaa744b7ebeb (diff)
downloadlinux-stable-ff4e0ae5feaffd69ecf115555c6437cf4f71f806.tar.gz
linux-stable-ff4e0ae5feaffd69ecf115555c6437cf4f71f806.tar.bz2
linux-stable-ff4e0ae5feaffd69ecf115555c6437cf4f71f806.zip
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)
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);