Skip to contentSkip to conversation

i2c: i2c-gpio: add newline

PATCH In review Sergei Antonov 3 participants 4 messages Oct 20, 2022 – Nov 14, 2022 I2C

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: i2c-gpio: add newline

Add newline at the end of the printed string.

---
 drivers/i2c/i2c-gpio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/i2c-gpio.c +1 -1
index 1aedad5c8ede..4ed9e9e7cddd 100644
@@ -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;
 }
 
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#2 lore raw
In reply to Sergei Antonov

Hello Sergei,

Quoted 6 lines · Sergei Antonov

Add newline at the end of the printed string.

---
 drivers/i2c/i2c-gpio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Thanks!

bye,
Heiko

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: [email protected]
#3 lore raw
In reply to Sergei Antonov

Hello Sergei,

Quoted 6 lines · Sergei Antonov

Add newline at the end of the printed string.

---
 drivers/i2c/i2c-gpio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to u-boot-i2c.git master

Thanks!

bye,
Heiko

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: [email protected]