From ff4e0ae5feaffd69ecf115555c6437cf4f71f806 Mon Sep 17 00:00:00 2001 From: Alexander Shiyan Date: Sat, 29 Mar 2014 14:29:00 +0400 Subject: 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 Reviewed-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck --- drivers/watchdog/shwdt.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'drivers/watchdog') 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); -- cgit v1.2.1