summaryrefslogtreecommitdiff
path: root/drivers/media/usb
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2012-09-12 20:23:54 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-23 20:50:03 -0300
commita835ae6777ce642e1d6de704b878aaed932d69ef (patch)
tree6539b94474abcc84739f7ef0a79af154cdfe09ea /drivers/media/usb
parent119f7a8c5ded2789defdccc6dfe50d9934ea156e (diff)
[media] au6610: use Kernel dev_foo() logging
Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb')
-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;
}