From: Hou Zhiqiang Date: Thu, 1 Aug 2024 03:59:52 +0000 (+0800) Subject: cpu: imx: removed the tail '\n' of the CPU description X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=b7ed7418edb5378fb42a0e3744197b3d6a0383c8;p=u-boot.git cpu: imx: removed the tail '\n' of the CPU description Return CPU description string without newline character in the end. Signed-off-by: Hou Zhiqiang --- diff --git a/drivers/cpu/imx8_cpu.c b/drivers/cpu/imx8_cpu.c index 6a97b7b9ad..b633a2c73a 100644 --- a/drivers/cpu/imx8_cpu.c +++ b/drivers/cpu/imx8_cpu.c @@ -184,8 +184,6 @@ static int cpu_imx_get_desc(const struct udevice *dev, char *buf, int size) ret = snprintf(buf, size, " - invalid sensor data"); } - snprintf(buf + ret, size - ret, "\n"); - return 0; }