[media] au6610: use Kernel dev_foo() logging
authorAntti Palosaari <crope@iki.fi>
Wed, 12 Sep 2012 23:23:54 +0000 (20:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 23 Sep 2012 23:50:03 +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/au6610.c

index f309fd8217fd3a1305982e7582e89b710e52abb1..ae6a671b7fd55dae414501628918d4d00f4a5336 100644 (file)
@@ -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;
        }