[media] gl861: use Kernel dev_foo() logging

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Antti Palosaari 2012-09-12 20:23:55 -03:00 committed by Mauro Carvalho Chehab
parent a835ae6777
commit 8152768892
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}