diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2008-04-22 13:45:47 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:07:49 -0400 |
commit | 1c659689fe9959c017bfaaa8301243f7d99f1a46 (patch) | |
tree | 08eb18f1f007a2f46ea115ef6751aeb7384d03f5 | |
parent | d6f34d7adddb144c3b450e15df3749f0e0a651c6 (diff) |
V4L/DVB (7335): usb-video: checkpatch fixes
Please run checkpatch prior to sending patches
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | drivers/media/video/usbvideo/usbvideo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/usbvideo/usbvideo.c b/drivers/media/video/usbvideo/usbvideo.c index f1ccf59545d4..7f3cdc9a0624 100644 --- a/drivers/media/video/usbvideo/usbvideo.c +++ b/drivers/media/video/usbvideo/usbvideo.c | |||
@@ -1035,10 +1035,10 @@ int usbvideo_RegisterVideoDevice(struct uvd *uvd) | |||
1035 | __FUNCTION__, uvd->iface, uvd->video_endp, uvd->paletteBits); | 1035 | __FUNCTION__, uvd->iface, uvd->video_endp, uvd->paletteBits); |
1036 | } | 1036 | } |
1037 | if (uvd->dev == NULL) { | 1037 | if (uvd->dev == NULL) { |
1038 | err("%s: uvd->dev == NULL", __FUNCTION__); | 1038 | err("%s: uvd->dev == NULL", __func__); |
1039 | return -EINVAL; | 1039 | return -EINVAL; |
1040 | } | 1040 | } |
1041 | uvd->vdev.dev=&(uvd->dev->dev); | 1041 | uvd->vdev.dev = &uvd->dev->dev; |
1042 | if (video_register_device(&uvd->vdev, VFL_TYPE_GRABBER, video_nr) == -1) { | 1042 | if (video_register_device(&uvd->vdev, VFL_TYPE_GRABBER, video_nr) == -1) { |
1043 | err("%s: video_register_device failed", __FUNCTION__); | 1043 | err("%s: video_register_device failed", __FUNCTION__); |
1044 | return -EPIPE; | 1044 | return -EPIPE; |