diff options
| author | Hou Zhiqiang <[email protected]> | 2024-08-01 11:59:52 +0800 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2024-08-02 15:16:51 -0300 |
| commit | b7ed7418edb5378fb42a0e3744197b3d6a0383c8 (patch) | |
| tree | bc20b7dd8ea9402e0888f4cc8e19076ddbf73bc2 /drivers/cpu | |
| parent | 37adedfb2116ed28b49c2581baf0f7eae69b97e1 (diff) | |
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 <[email protected]>
Diffstat (limited to 'drivers/cpu')
| -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 6a97b7b9ad0..b633a2c73a9 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; } |
