Forráskód Böngészése

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>
Andrew Morton 17 éve
szülő
commit
1c659689fe
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      drivers/media/video/usbvideo/usbvideo.c

+ 2 - 2
drivers/media/video/usbvideo/usbvideo.c

@@ -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;