Browse Source

[media] au6610: use Kernel dev_foo() logging

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Antti Palosaari 12 years ago
parent
commit
a835ae6777
1 changed files with 2 additions and 1 deletions
  1. 2 1
      drivers/media/usb/dvb-usb-v2/au6610.c

+ 2 - 1
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;
 	}