mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-14 09:47:20 +00:00
ARM: mach-mxs: Remove "TO" string from revision field
There is no need to print the silicon revision as "TO1.2", just print it as "1.2" instead: $ cat /sys/bus/soc/devices/soc0/revision 1.2 Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
This commit is contained in:
parent
56b7eec01d
commit
e115d63ce8
@ -396,7 +396,7 @@ static const char __init *mxs_get_revision(void)
|
||||
u32 rev = mxs_get_cpu_rev();
|
||||
|
||||
if (rev != MXS_CHIP_REV_UNKNOWN)
|
||||
return kasprintf(GFP_KERNEL, "TO%d.%d", (rev >> 4) & 0xf,
|
||||
return kasprintf(GFP_KERNEL, "%d.%d", (rev >> 4) & 0xf,
|
||||
rev & 0xf);
|
||||
else
|
||||
return kasprintf(GFP_KERNEL, "%s", "Unknown");
|
||||
|
Loading…
x
Reference in New Issue
Block a user