watchdog: shwdt: Remove unused platform_set_drvdata()
PATCH 1/1 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 <[email protected]>
--- drivers/watchdog/shwdt.c | 2 -- 1 file changed, 2 deletions(-)
drivers/watchdog/shwdt.c +0 -2
@@ -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);
Signature · 1 line
1.8.3.2
Quoted 4 lines · Alexander Shiyan
This patch removes
platform_set_drvdata()which is not used in the driver.Signed-off-by Alexander Shiyan <[email protected]>
Reviewed-by Guenter Roeck <[email protected]>
Hi Alexander,
Quoted 13 lines
This patch removes
platform_set_drvdata()which is not used in the driver.Signed-off-by Alexander Shiyan <[email protected]>--- drivers/watchdog/shwdt.c | 2 -- 1 file changed, 2 deletions(-)drivers/watchdog/shwdt.c +0
-0
drivers/watchdog/shwdt.c static int sh_wdt_probe(struct platform_device *pdev) · line 287
Quoted 8 lines
drivers/watchdog/shwdt.c +0
-2@@ -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);
This patch has been added to linux-watchdog-next.
Kind regards,
Wim.