platform/chrome: cros_ec: append newline to all logs

To be consistent, append newline ("\n") to all logs.

Reviewed-by: Guenter Roeck <groeck@google.com>
Reviewed-by: Prashant Malani <pmalani@chromium.org>
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
This commit is contained in:
Tzung-Bi Shih 2022-02-16 16:03:06 +08:00
parent 5781a33098
commit 8d4668064c
1 changed files with 4 additions and 4 deletions

View File

@ -215,7 +215,7 @@ int cros_ec_register(struct cros_ec_device *ec_dev)
IRQF_TRIGGER_LOW | IRQF_ONESHOT, IRQF_TRIGGER_LOW | IRQF_ONESHOT,
"chromeos-ec", ec_dev); "chromeos-ec", ec_dev);
if (err) { if (err) {
dev_err(dev, "Failed to request IRQ %d: %d", dev_err(dev, "Failed to request IRQ %d: %d\n",
ec_dev->irq, err); ec_dev->irq, err);
return err; return err;
} }
@ -266,7 +266,7 @@ int cros_ec_register(struct cros_ec_device *ec_dev)
*/ */
err = cros_ec_sleep_event(ec_dev, 0); err = cros_ec_sleep_event(ec_dev, 0);
if (err < 0) if (err < 0)
dev_dbg(ec_dev->dev, "Error %d clearing sleep event to ec", dev_dbg(ec_dev->dev, "Error %d clearing sleep event to ec\n",
err); err);
if (ec_dev->mkbp_event_supported) { if (ec_dev->mkbp_event_supported) {
@ -335,7 +335,7 @@ int cros_ec_suspend(struct cros_ec_device *ec_dev)
ret = cros_ec_sleep_event(ec_dev, sleep_event); ret = cros_ec_sleep_event(ec_dev, sleep_event);
if (ret < 0) if (ret < 0)
dev_dbg(ec_dev->dev, "Error %d sending suspend event to ec", dev_dbg(ec_dev->dev, "Error %d sending suspend event to ec\n",
ret); ret);
if (device_may_wakeup(dev)) if (device_may_wakeup(dev))
@ -380,7 +380,7 @@ int cros_ec_resume(struct cros_ec_device *ec_dev)
ret = cros_ec_sleep_event(ec_dev, sleep_event); ret = cros_ec_sleep_event(ec_dev, sleep_event);
if (ret < 0) if (ret < 0)
dev_dbg(ec_dev->dev, "Error %d sending resume event to ec", dev_dbg(ec_dev->dev, "Error %d sending resume event to ec\n",
ret); ret);
if (ec_dev->wake_enabled) if (ec_dev->wake_enabled)