[PATCH] power: fan53555: Fix missing newline in error message

Michal Suchanek msuchanek at suse.de
Sun Sep 25 15:43:27 CEST 2022


Avoid concatenation with following message.

Signed-off-by: Michal Suchanek <msuchanek at suse.de>
---

 drivers/power/pmic/fan53555.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/power/pmic/fan53555.c b/drivers/power/pmic/fan53555.c
index 4d1e686d27..0d91628f57 100644
--- a/drivers/power/pmic/fan53555.c
+++ b/drivers/power/pmic/fan53555.c
@@ -23,7 +23,7 @@ static int pmic_fan53555_read(struct udevice *dev, uint reg,
 			      u8 *buff, int len)
 {
 	if (dm_i2c_read(dev, reg, buff, len)) {
-		pr_err("%s: read error for register: %#x!", dev->name, reg);
+		pr_err("%s: read error for register: %#x!\n", dev->name, reg);
 		return -EIO;
 	}
 
-- 
2.37.3



More information about the U-Boot mailing list