[media] dvb: remove 0x prefix from decimal value in printf
authorHans Wennborg <hans@hanshq.net>
Thu, 7 Aug 2014 05:41:45 +0000 (02:41 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 22 Sep 2014 20:04:09 +0000 (17:04 -0300)
The returned code is 0, 1 or an error. It doesn't make sense to
print it in hexadecimal.

Signed-off-by: Hans Wennborg <hans@hanshq.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/mb86a16.c

index 1827c0a29e956858c2969f9c8812e5331fabc71e..bc9a0adda3cbd2cc022726c3efe4b1f710f68f68 100644 (file)
@@ -115,7 +115,7 @@ static int mb86a16_read(struct mb86a16_state *state, u8 reg, u8 *val)
        };
        ret = i2c_transfer(state->i2c_adap, msg, 2);
        if (ret != 2) {
-               dprintk(verbose, MB86A16_ERROR, 1, "read error(reg=0x%02x, ret=0x%i)",
+               dprintk(verbose, MB86A16_ERROR, 1, "read error(reg=0x%02x, ret=%i)",
                        reg, ret);
 
                return -EREMOTEIO;