summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2012-09-13 03:23:54 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-24 03:50:03 +0400
commita835ae6777ce642e1d6de704b878aaed932d69ef (patch)
tree6539b94474abcc84739f7ef0a79af154cdfe09ea
parent119f7a8c5ded2789defdccc6dfe50d9934ea156e (diff)
downloadlinux-a835ae6777ce642e1d6de704b878aaed932d69ef.tar.xz
[media] au6610: use Kernel dev_foo() logging
Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/usb/dvb-usb-v2/au6610.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/au6610.c b/drivers/media/usb/dvb-usb-v2/au6610.c
index f309fd8217fd..ae6a671b7fd5 100644
--- a/drivers/media/usb/dvb-usb-v2/au6610.c
+++ b/drivers/media/usb/dvb-usb-v2/au6610.c
@@ -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;
}