Commit a3752184 authored by Hans Wennborg's avatar Hans Wennborg Committed by Mauro Carvalho Chehab

[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: default avatarHans Wennborg <hans@hanshq.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 6694ba62
...@@ -115,7 +115,7 @@ static int mb86a16_read(struct mb86a16_state *state, u8 reg, u8 *val) ...@@ -115,7 +115,7 @@ static int mb86a16_read(struct mb86a16_state *state, u8 reg, u8 *val)
}; };
ret = i2c_transfer(state->i2c_adap, msg, 2); ret = i2c_transfer(state->i2c_adap, msg, 2);
if (ret != 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); reg, ret);
return -EREMOTEIO; return -EREMOTEIO;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment