[PATCH] power: fan53555: Fix missing newline in error message

Jaehoon Chung jh80.chung at gmail.com
Fri Oct 7 14:38:05 CEST 2022



On 9/25/22 22:43, Michal Suchanek wrote:
> Avoid concatenation with following message.
> 
> Signed-off-by: Michal Suchanek <msuchanek at suse.de>

Reviewed-by: Jaehoon Chung <jh80.chung at samsung.com>

Best Regards,
Jaehoon Chung

> ---
> 
>  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