From: Fabio Estevam Date: Mon, 16 Jan 2012 19:32:21 +0000 (-0200) Subject: ASoC: sgtl5000: Print revision number in hex X-Git-Tag: v3.4-rc1~88^2^2~67 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=f2c6e757f60d3d3e90dc5d1f1ff1a241dc0ea916;p=~emulex%2Finfiniband.git ASoC: sgtl5000: Print revision number in hex Throughout the sgtl5000 driver source code and also in the sgtl5000 datasheet the revision code is shown in hexadecimal. Print it hex format, for consistency. Signed-off-by: Fabio Estevam Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c index 7f4ba819a9f..04ea4850cd4 100644 --- a/sound/soc/codecs/sgtl5000.c +++ b/sound/soc/codecs/sgtl5000.c @@ -1248,7 +1248,7 @@ static int sgtl5000_enable_regulators(struct snd_soc_codec *codec) } rev = (reg & SGTL5000_REVID_MASK) >> SGTL5000_REVID_SHIFT; - dev_info(codec->dev, "sgtl5000 revision %d\n", rev); + dev_info(codec->dev, "sgtl5000 revision 0x%x\n", rev); /* * workaround for revision 0x11 and later,