watchdog: imx2_wdt: Improve dev_crit() message
authorFabio Estevam <festevam@denx.de>
Tue, 22 Aug 2023 13:52:55 +0000 (10:52 -0300)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Fri, 25 Aug 2023 14:19:13 +0000 (16:19 +0200)
commit8d668bad7a2d85e74042db3e0a336e078be9442e
tree8727171ef82719eacc52fa74007aba3601fa33fa
parentd889540247f9d549332a3dd5ca1b88a662119186
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>
drivers/watchdog/imx2_wdt.c