1
0
Fork 0

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: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
hifive-unleashed-5.1
Guenter Roeck 2015-12-24 14:22:01 -08:00 committed by Wim Van Sebroeck
parent 92b3649525
commit 3d29f80813
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}