From: Joy Zou Date: Mon, 23 Sep 2024 13:11:33 +0000 (+0800) Subject: power: pmic: pca9450: Add missing newline X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/git-logo.png?a=commitdiff_plain;h=a404065479be2c1fe1167c3c91367e8194a69d1b;p=u-boot.git 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 --- 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; }