summaryrefslogtreecommitdiff
path: root/drivers/watchdog/tangox_wdt.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2015-12-24 14:22:01 -0800
committerWim Van Sebroeck <wim@iguana.be>2015-12-28 23:04:04 +0100
commit3d29f80813ba335a21b56debff8e4b92a2772a64 (patch)
tree0242eeb90284c02cf55f79c6d558187ea1567d05 /drivers/watchdog/tangox_wdt.c
parent92b3649525a5c3daf0b395b6daeaed1ce0d235c2 (diff)
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>
Diffstat (limited to 'drivers/watchdog/tangox_wdt.c')
-rw-r--r--drivers/watchdog/tangox_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/tangox_wdt.c b/drivers/watchdog/tangox_wdt.c
index b9ee6246e7c2..709c1ed6fd79 100644
--- a/drivers/watchdog/tangox_wdt.c
+++ b/drivers/watchdog/tangox_wdt.c
@@ -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;
}