Skip to content

Commit f285bd8

Browse files
bebarinoWim Van Sebroeck
authored andcommitted
watchdog: cros-ec: Add newlines to printks
Add newlines to printk messages so that the next record is more easily readable. Cc: Lukasz Majczak <[email protected]> Cc: Benson Leung <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Reviewed-by: Benson Leung <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
1 parent 5c03f9f commit f285bd8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

drivers/watchdog/cros_ec_wdt.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ static int cros_ec_wdt_ping(struct watchdog_device *wdd)
5858
arg.req.command = EC_HANG_DETECT_CMD_RELOAD;
5959
ret = cros_ec_wdt_send_cmd(cros_ec, &arg);
6060
if (ret < 0)
61-
dev_dbg(wdd->parent, "Failed to ping watchdog (%d)", ret);
61+
dev_dbg(wdd->parent, "Failed to ping watchdog (%d)\n", ret);
6262

6363
return ret;
6464
}
@@ -74,7 +74,7 @@ static int cros_ec_wdt_start(struct watchdog_device *wdd)
7474
arg.req.reboot_timeout_sec = wdd->timeout;
7575
ret = cros_ec_wdt_send_cmd(cros_ec, &arg);
7676
if (ret < 0)
77-
dev_dbg(wdd->parent, "Failed to start watchdog (%d)", ret);
77+
dev_dbg(wdd->parent, "Failed to start watchdog (%d)\n", ret);
7878

7979
return ret;
8080
}
@@ -88,7 +88,7 @@ static int cros_ec_wdt_stop(struct watchdog_device *wdd)
8888
arg.req.command = EC_HANG_DETECT_CMD_CANCEL;
8989
ret = cros_ec_wdt_send_cmd(cros_ec, &arg);
9090
if (ret < 0)
91-
dev_dbg(wdd->parent, "Failed to stop watchdog (%d)", ret);
91+
dev_dbg(wdd->parent, "Failed to stop watchdog (%d)\n", ret);
9292

9393
return ret;
9494
}
@@ -136,7 +136,7 @@ static int cros_ec_wdt_probe(struct platform_device *pdev)
136136
arg.req.command = EC_HANG_DETECT_CMD_GET_STATUS;
137137
ret = cros_ec_wdt_send_cmd(cros_ec, &arg);
138138
if (ret < 0)
139-
return dev_err_probe(dev, ret, "Failed to get watchdog bootstatus");
139+
return dev_err_probe(dev, ret, "Failed to get watchdog bootstatus\n");
140140

141141
wdd->parent = &pdev->dev;
142142
wdd->info = &cros_ec_wdt_ident;
@@ -150,7 +150,7 @@ static int cros_ec_wdt_probe(struct platform_device *pdev)
150150
arg.req.command = EC_HANG_DETECT_CMD_CLEAR_STATUS;
151151
ret = cros_ec_wdt_send_cmd(cros_ec, &arg);
152152
if (ret < 0)
153-
return dev_err_probe(dev, ret, "Failed to clear watchdog bootstatus");
153+
return dev_err_probe(dev, ret, "Failed to clear watchdog bootstatus\n");
154154

155155
watchdog_stop_on_reboot(wdd);
156156
watchdog_stop_on_unregister(wdd);

0 commit comments

Comments
 (0)