diff options
author | Hans Wennborg <hans@hanshq.net> | 2014-08-07 07:41:45 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-22 22:04:09 +0200 |
commit | a375218460a625f15b5403d15d9a67d8f8951177 (patch) | |
tree | ac74751beb768e331b4a84b7c71f3aa8c8b21a26 /drivers/media/dvb-frontends/mb86a16.c | |
parent | [media] drivers/media/dvb-frontends/stv0900_sw.c: Fix break placement (diff) | |
download | linux-a375218460a625f15b5403d15d9a67d8f8951177.tar.xz linux-a375218460a625f15b5403d15d9a67d8f8951177.zip |
[media] dvb: remove 0x prefix from decimal value in printf
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>
Diffstat (limited to '')
-rw-r--r-- | drivers/media/dvb-frontends/mb86a16.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/mb86a16.c b/drivers/media/dvb-frontends/mb86a16.c index 1827c0a29e95..bc9a0adda3cb 100644 --- a/drivers/media/dvb-frontends/mb86a16.c +++ b/drivers/media/dvb-frontends/mb86a16.c @@ -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; |