platform/chrome: cros_typec_switch: Add missing newline on printk
authorStephen Boyd <swboyd@chromium.org>
Tue, 30 Aug 2022 22:58:28 +0000 (15:58 -0700)
committerTzung-Bi Shih <tzungbi@kernel.org>
Thu, 1 Sep 2022 02:15:34 +0000 (10:15 +0800)
We need a newline here to ensure the next printk starts fresh.

Cc: Prashant Malani <pmalani@chromium.org>
Cc: Tzung-Bi Shih <tzungbi@kernel.org>
Fixes: affc804c44c8 ("platform/chrome: cros_typec_switch: Add switch driver")
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Acked-by: Prashant Malani <pmalani@chromium.org>
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Link: https://lore.kernel.org/r/20220830225831.2362403-2-swboyd@chromium.org
drivers/platform/chrome/cros_typec_switch.c

index f85687a..383daf2 100644 (file)
@@ -244,7 +244,7 @@ static int cros_typec_register_switches(struct cros_typec_switch_data *sdata)
                }
 
                if (index < 0 || index >= EC_USB_PD_MAX_PORTS) {
-                       dev_err(fwnode->dev, "Invalid port index number: %llu", index);
+                       dev_err(fwnode->dev, "Invalid port index number: %llu\n", index);
                        ret = -EINVAL;
                        goto err_switch;
                }