diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-03-29 11:29:00 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2014-06-10 21:40:16 +0200 |
commit | ff4e0ae5feaffd69ecf115555c6437cf4f71f806 (patch) | |
tree | fc44cfe73075129c5b19ca6e80bb05b0dbf2bb2f /drivers/watchdog | |
parent | watchdog: kempld-wdt: Use the correct value when configuring the prescaler wi... (diff) | |
download | linux-ff4e0ae5feaffd69ecf115555c6437cf4f71f806.tar.xz linux-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.c | 2 |
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); |