]> Pileus Git - ~andy/linux/commitdiff
[media] gl861: use Kernel dev_foo() logging
authorAntti Palosaari <crope@iki.fi>
Wed, 12 Sep 2012 23:23:55 +0000 (20:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 23 Sep 2012 23:50:13 +0000 (20:50 -0300)
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/dvb-usb-v2/gl861.c

index df78811f5234fc821e81baa62ee266de79a08654..b1b09c547861c26c3672a7290a45486ce52c9e30 100644 (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;
        }