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>
This commit is contained in:
committed by
Fabio Estevam
parent
37adedfb21
commit
b7ed7418ed
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user