diff options
author | Hou Zhiqiang <Zhiqiang.Hou@nxp.com> | 2024-08-01 11:59:52 +0800 |
---|---|---|
committer | Fabio Estevam <festevam@gmail.com> | 2024-08-02 15:16:51 -0300 |
commit | b7ed7418edb5378fb42a0e3744197b3d6a0383c8 (patch) | |
tree | bc20b7dd8ea9402e0888f4cc8e19076ddbf73bc2 /drivers | |
parent | 37adedfb2116ed28b49c2581baf0f7eae69b97e1 (diff) | |
download | u-boot-b7ed7418edb5378fb42a0e3744197b3d6a0383c8.tar.gz u-boot-b7ed7418edb5378fb42a0e3744197b3d6a0383c8.tar.bz2 u-boot-b7ed7418edb5378fb42a0e3744197b3d6a0383c8.zip |
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 <Zhiqiang.Hou@nxp.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/cpu/imx8_cpu.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; } |