[PATCH] power: fan53555: Fix missing newline in error message
Peng Fan
peng.fan at oss.nxp.com
Mon Sep 26 10:33:17 CEST 2022
On 9/25/2022 9:43 PM, Michal Suchanek wrote:
> Avoid concatenation with following message.
>
> Signed-off-by: Michal Suchanek <msuchanek at suse.de>
Reviewed-by: Peng Fan <peng.fan at nxp.com>
> ---
>
> 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;
> }
>
More information about the U-Boot
mailing list