aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-08-13 09:28:02 -0400
committerShawn Guo <shawn.guo@linaro.org>2013-08-16 03:46:11 -0400
commite115d63ce8bd740b2bd22edc7de03e7e5ced604c (patch)
tree8fe9f4a192ef0cf204a67383324330afceb74386 /arch/arm
parent56b7eec01d9aca2f3a4a8697e6f04be67ad1f876 (diff)
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-mxs/mach-mxs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mxs/mach-mxs.c b/arch/arm/mach-mxs/mach-mxs.c
index b5a2c4a68e34..958ef483bf33 100644
--- a/arch/arm/mach-mxs/mach-mxs.c
+++ b/arch/arm/mach-mxs/mach-mxs.c
@@ -396,7 +396,7 @@ static const char __init *mxs_get_revision(void)
396 u32 rev = mxs_get_cpu_rev(); 396 u32 rev = mxs_get_cpu_rev();
397 397
398 if (rev != MXS_CHIP_REV_UNKNOWN) 398 if (rev != MXS_CHIP_REV_UNKNOWN)
399 return kasprintf(GFP_KERNEL, "TO%d.%d", (rev >> 4) & 0xf, 399 return kasprintf(GFP_KERNEL, "%d.%d", (rev >> 4) & 0xf,
400 rev & 0xf); 400 rev & 0xf);
401 else 401 else
402 return kasprintf(GFP_KERNEL, "%s", "Unknown"); 402 return kasprintf(GFP_KERNEL, "%s", "Unknown");