提交 1c659689 编写于 作者: A Andrew Morton 提交者: Mauro Carvalho Chehab

V4L/DVB (7335): usb-video: checkpatch fixes

Please run checkpatch prior to sending patches
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 d6f34d7a
...@@ -1035,10 +1035,10 @@ int usbvideo_RegisterVideoDevice(struct uvd *uvd) ...@@ -1035,10 +1035,10 @@ int usbvideo_RegisterVideoDevice(struct uvd *uvd)
__FUNCTION__, uvd->iface, uvd->video_endp, uvd->paletteBits); __FUNCTION__, uvd->iface, uvd->video_endp, uvd->paletteBits);
} }
if (uvd->dev == NULL) { if (uvd->dev == NULL) {
err("%s: uvd->dev == NULL", __FUNCTION__); err("%s: uvd->dev == NULL", __func__);
return -EINVAL; return -EINVAL;
} }
uvd->vdev.dev=&(uvd->dev->dev); uvd->vdev.dev = &uvd->dev->dev;
if (video_register_device(&uvd->vdev, VFL_TYPE_GRABBER, video_nr) == -1) { if (video_register_device(&uvd->vdev, VFL_TYPE_GRABBER, video_nr) == -1) {
err("%s: video_register_device failed", __FUNCTION__); err("%s: video_register_device failed", __FUNCTION__);
return -EPIPE; return -EPIPE;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册