aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c64xx
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-02 00:29:08 -0500
committerKukjin Kim <kgene.kim@samsung.com>2011-12-02 00:29:08 -0500
commitfc716894ac25e81a094adb964b78fde2387411a9 (patch)
treeb839987f6c5a52339ed59a43b633d416a3693d21 /arch/arm/mach-s3c64xx
parent8504a3cb5cbc43dbbec457105d9cead3fc20cd85 (diff)
ARM: S3C64XX: Improve logging of unknown Cragganmore module types
As our ID table is populated with hexidecimal values it makes sense to log unknown module IDs in hexidecimal. It's also helpful to display board revisions as 1 based rather than 0 based as that's the numbering system used for the hardware (and what we do when announcing known modules). Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c64xx')
-rw-r--r--arch/arm/mach-s3c64xx/mach-crag6410-module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c64xx/mach-crag6410-module.c b/arch/arm/mach-s3c64xx/mach-crag6410-module.c
index 66668565ee75..003c171ea275 100644
--- a/arch/arm/mach-s3c64xx/mach-crag6410-module.c
+++ b/arch/arm/mach-s3c64xx/mach-crag6410-module.c
@@ -154,8 +154,8 @@ static __devinit int wlf_gf_module_probe(struct i2c_client *i2c,
154 "Failed to register dev: %d\n", ret); 154 "Failed to register dev: %d\n", ret);
155 } 155 }
156 } else { 156 } else {
157 dev_warn(&i2c->dev, "Unknown module ID %d revision %d\n", 157 dev_warn(&i2c->dev, "Unknown module ID 0x%x revision %d\n",
158 id, rev); 158 id, rev + 1);
159 } 159 }
160 160
161 return 0; 161 return 0;