git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37adedf
)
cpu: imx: removed the tail '\n' of the CPU description
author
Hou Zhiqiang
<Zhiqiang.Hou@nxp.com>
Thu, 1 Aug 2024 03:59:52 +0000
(11:59 +0800)
committer
Fabio Estevam
<festevam@gmail.com>
Fri, 2 Aug 2024 18:16:51 +0000
(15:16 -0300)
Return CPU description string without newline character in the end.
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
drivers/cpu/imx8_cpu.c
patch
|
blob
|
history
diff --git
a/drivers/cpu/imx8_cpu.c
b/drivers/cpu/imx8_cpu.c
index
6a97b7b
..
b633a2c
100644
(file)
--- 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;
}