Commit 3d29f808 authored by Guenter Roeck's avatar Guenter Roeck Committed by Wim Van Sebroeck

watchdog: tangox: Print info message using pointer to platform device

The device pointer in struct watchdog_device should not be used by drivers
and may be removed in the near future. Use the platform device pointer for
info messages instead.
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 92b36495
......@@ -184,7 +184,7 @@ static int tangox_wdt_probe(struct platform_device *pdev)
if (err)
dev_warn(&pdev->dev, "failed to register restart handler\n");
dev_info(dev->wdt.dev, "SMP86xx/SMP87xx watchdog registered\n");
dev_info(&pdev->dev, "SMP86xx/SMP87xx watchdog registered\n");
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment