From: Bin Meng Date: Thu, 11 Oct 2018 05:06:56 +0000 (-0700) Subject: cpu: mpc83xx: Remove unnecessary characters in the description string X-Git-Tag: v2019.01-rc1~33^2~74 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6fe8abcce740a67e81fb6115f54dba380bd2ff4d;p=oweals%2Fu-boot.git cpu: mpc83xx: Remove unnecessary characters in the description string The description string should not contain unnecessary characters, like the ending '\n' or the leading 'CPU:'. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- diff --git a/drivers/cpu/mpc83xx_cpu.c b/drivers/cpu/mpc83xx_cpu.c index 31717afaec..7bc86bf9b2 100644 --- a/drivers/cpu/mpc83xx_cpu.c +++ b/drivers/cpu/mpc83xx_cpu.c @@ -262,7 +262,7 @@ static int mpc83xx_cpu_get_desc(struct udevice *dev, char *buf, int size) determine_cpu_data(dev); snprintf(buf, size, - "CPU: %s, MPC%s%s%s, Rev: %d.%d at %s MHz, CSB: %s MHz\n", + "%s, MPC%s%s%s, Rev: %d.%d at %s MHz, CSB: %s MHz", e300_names[priv->e300_type], cpu_type_names[priv->type], priv->is_e_processor ? "E" : "",