V4L/DVB (7335): usb-video: checkpatch fixes
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 22 Apr 2008 17:45:47 +0000 (14:45 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:49 +0000 (14:07 -0300)
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>
drivers/media/video/usbvideo/usbvideo.c

index f1ccf59545d45435b34789fe4dddc00a05d6e551..7f3cdc9a062400b78a789dc350342d7a1a6ca470 100644 (file)
@@ -1035,10 +1035,10 @@ int usbvideo_RegisterVideoDevice(struct uvd *uvd)
                     __FUNCTION__, uvd->iface, uvd->video_endp, uvd->paletteBits);
        }
        if (uvd->dev == NULL) {
-               err("%s: uvd->dev == NULL", __FUNCTION__);
+               err("%s: uvd->dev == NULL", __func__);
                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) {
                err("%s: video_register_device failed", __FUNCTION__);
                return -EPIPE;