]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
power: pmic: pca9450: Add missing newline
authorJoy Zou <joy.zou@nxp.com>
Mon, 23 Sep 2024 13:11:33 +0000 (21:11 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 10 Oct 2024 18:17:46 +0000 (12:17 -0600)
Add newline character in log info end.

Signed-off-by: Joy Zou <joy.zou@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/power/pmic/pca9450.c

index 5025e2d338b990a3350f4abd54178188016de763..9d875f8bdbe8359f6cd870102b29b283c33533ea 100644 (file)
@@ -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;
        }