Skip to content

Commit

Permalink
[media] gl861: use Kernel dev_foo() logging
Browse files Browse the repository at this point in the history
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Antti Palosaari authored and Mauro Carvalho Chehab committed Sep 23, 2012
1 parent a835ae6 commit 8152768
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/media/usb/dvb-usb-v2/gl861.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 8152768

Please sign in to comment.