summaryrefslogtreecommitdiff
path: root/drivers/media/usb
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2012-09-13 03:23:55 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-24 03:50:13 +0400
commit81527688924ace05cc99907713f14eb2ec064c37 (patch)
tree4c15637c656c05be0c3ab43200af9b58a79bf780 /drivers/media/usb
parenta835ae6777ce642e1d6de704b878aaed932d69ef (diff)
downloadlinux-81527688924ace05cc99907713f14eb2ec064c37.tar.xz
[media] gl861: 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/gl861.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/gl861.c b/drivers/media/usb/dvb-usb-v2/gl861.c
index df78811f5234..b1b09c547861 100644
--- a/drivers/media/usb/dvb-usb-v2/gl861.c
+++ b/drivers/media/usb/dvb-usb-v2/gl861.c
@@ -38,7 +38,8 @@ static int gl861_i2c_msg(struct dvb_usb_device *d, u8 addr,
value = value + 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);
return -EINVAL;
}