From a404065479be2c1fe1167c3c91367e8194a69d1b Mon Sep 17 00:00:00 2001 From: Joy Zou Date: Mon, 23 Sep 2024 21:11:33 +0800 Subject: [PATCH] power: pmic: pca9450: Add missing newline Add newline character in log info end. Signed-off-by: Joy Zou Reviewed-by: Ye Li Signed-off-by: Peng Fan --- drivers/power/pmic/pca9450.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/power/pmic/pca9450.c b/drivers/power/pmic/pca9450.c index 5025e2d338..9d875f8bdb 100644 --- a/drivers/power/pmic/pca9450.c +++ b/drivers/power/pmic/pca9450.c @@ -42,7 +42,7 @@ static int pca9450_write(struct udevice *dev, uint reg, const uint8_t *buff, int len) { if (dm_i2c_write(dev, reg, buff, len)) { - pr_err("write error to device: %p register: %#x!", dev, reg); + pr_err("write error to device: %p register: %#x!\n", dev, reg); return -EIO; } @@ -53,7 +53,7 @@ static int pca9450_read(struct udevice *dev, uint reg, uint8_t *buff, int len) { if (dm_i2c_read(dev, reg, buff, len)) { - pr_err("read error from device: %p register: %#x!", dev, reg); + pr_err("read error from device: %p register: %#x!\n", dev, reg); return -EIO; } -- 2.39.5