From: Alexander Shiyan Date: Sat, 29 Mar 2014 10:29:00 +0000 (+0400) Subject: watchdog: shwdt: Remove unused platform_set_drvdata() X-Git-Tag: next-20140530~46^2~18 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0c0c0dc953e61c99c1e4a3f099b2e74e7cdf7c12;p=karo-tx-linux.git 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 --- 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);