power: fan53555: Fix missing newline in error message
authorMichal Suchanek <msuchanek@suse.de>
Sun, 25 Sep 2022 13:43:27 +0000 (15:43 +0200)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 26 Oct 2022 02:47:25 +0000 (11:47 +0900)
Avoid concatenation with following message.

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/power/pmic/fan53555.c

index 4d1e686..0d91628 100644 (file)
@@ -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;
        }