Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ff4e0ae5 authored by Alexander Shiyan's avatar Alexander Shiyan Committed by Wim Van Sebroeck
Browse files

watchdog: shwdt: Remove unused platform_set_drvdata()



This patch removes platform_set_drvdata() which is not used in
the driver.

Signed-off-by: default avatarAlexander Shiyan <shc_work@mail.ru>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent a9e0436b
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);