Skip to content

Commit

Permalink
[media] dvb: remove 0x prefix from decimal value in printf
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hans Wennborg authored and Mauro Carvalho Chehab committed Sep 22, 2014
1 parent 6694ba6 commit a375218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/dvb-frontends/mb86a16.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a375218

Please sign in to comment.