Skip to content

Commit b7ed741

Browse files
Zhiqiang-Houfabioestevam
authored andcommitted
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]>
1 parent 37adedf commit b7ed741

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/cpu/imx8_cpu.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,6 @@ static int cpu_imx_get_desc(const struct udevice *dev, char *buf, int size)
184184
ret = snprintf(buf, size, " - invalid sensor data");
185185
}
186186

187-
snprintf(buf + ret, size - ret, "\n");
188-
189187
return 0;
190188
}
191189

0 commit comments

Comments
 (0)