Skip to content

Commit 8d668ba

Browse files
Fabio EstevamWim Van Sebroeck
authored andcommitted
watchdog: imx2_wdt: Improve dev_crit() message
After issuing a "poweroff" command the board goes through the expected power-off sequence and turns it off completely: systemd-shutdown[1]: Powering off. imx2-wdt 30280000.watchdog: Device shutdown: Expect reboot! reboot: Power down The "Expect reboot!" message is misleading because in the power-off case, no reboot is expected to happen at all. Avoid the confusion by removing the "Expect reboot!" message. Signed-off-by: Fabio Estevam <festevam@denx.de> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20230822135255.1013981-1-festevam@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
1 parent d889540 commit 8d668ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/watchdog/imx2_wdt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ static void imx2_wdt_shutdown(struct platform_device *pdev)
374374
*/
375375
imx2_wdt_set_timeout(wdog, IMX2_WDT_MAX_TIME);
376376
imx2_wdt_ping(wdog);
377-
dev_crit(&pdev->dev, "Device shutdown: Expect reboot!\n");
377+
dev_crit(&pdev->dev, "Device shutdown.\n");
378378
}
379379
}
380380

0 commit comments

Comments
 (0)