diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-03-29 14:29:00 +0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2014-06-10 21:40:16 +0200 |
commit | ff4e0ae5feaffd69ecf115555c6437cf4f71f806 (patch) | |
tree | fc44cfe73075129c5b19ca6e80bb05b0dbf2bb2f /drivers/watchdog | |
parent | a9e0436b303e94ba57d3bd4b1fcbeaa744b7ebeb (diff) | |
download | op-kernel-dev-ff4e0ae5feaffd69ecf115555c6437cf4f71f806.zip op-kernel-dev-ff4e0ae5feaffd69ecf115555c6437cf4f71f806.tar.gz |
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 d04d02b..061756e 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); |