Skip to content

Commit

Permalink
[media] au6610: use Kernel dev_foo() logging
Browse files Browse the repository at this point in the history
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Antti Palosaari authored and Mauro Carvalho Chehab committed Sep 23, 2012
1 parent 119f7a8 commit a835ae6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/media/usb/dvb-usb-v2/au6610.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ static int au6610_usb_msg(struct dvb_usb_device *d, u8 operation, u8 addr,
index += wbuf[1];
break;
default:
pr_err("%s: wlen = %d, aborting\n", KBUILD_MODNAME, wlen);
dev_err(&d->udev->dev, "%s: wlen=%d, aborting\n",
KBUILD_MODNAME, wlen);
ret = -EINVAL;
goto error;
}
Expand Down

0 comments on commit a835ae6

Please sign in to comment.