[PATCH] i2c: i2c-gpio: add newline

Sergei Antonov saproj at gmail.com
Thu Oct 20 16:28:14 CEST 2022


Add newline at the end of the printed string.

Signed-off-by: Sergei Antonov <saproj at gmail.com>
---
 drivers/i2c/i2c-gpio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/i2c-gpio.c b/drivers/i2c/i2c-gpio.c
index 1aedad5c8ede..4ed9e9e7cddd 100644
--- a/drivers/i2c/i2c-gpio.c
+++ b/drivers/i2c/i2c-gpio.c
@@ -362,7 +362,7 @@ static int i2c_gpio_of_to_plat(struct udevice *dev)
 
 	return 0;
 error:
-	pr_err("Can't get %s gpios! Error: %d", dev->name, ret);
+	pr_err("Can't get %s gpios! Error: %d\n", dev->name, ret);
 	return ret;
 }
 
-- 
2.34.1



More information about the U-Boot mailing list