summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/usbvideo
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-03-10 10:40:29 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-03-10 10:40:29 -0300
commit86c26fca4899241db6de94ae9e2a665a04e3c964 (patch)
treeeba4f5a0e33033b78ec12018e57e41f7b883bae6 /linux/drivers/media/video/usbvideo
parentef49ec180c87df216e41d7ad6337aac6c2a359e7 (diff)
downloadmediapointer-dvb-s2-86c26fca4899241db6de94ae9e2a665a04e3c964.tar.gz
mediapointer-dvb-s2-86c26fca4899241db6de94ae9e2a665a04e3c964.tar.bz2
usb-video: checkpatch fixes
From: Andrew Morton <akpm@linux-foundation.org> 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>
Diffstat (limited to 'linux/drivers/media/video/usbvideo')
-rw-r--r--linux/drivers/media/video/usbvideo/usbvideo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/usbvideo/usbvideo.c b/linux/drivers/media/video/usbvideo/usbvideo.c
index 0cd01371d..cbfa4078e 100644
--- a/linux/drivers/media/video/usbvideo/usbvideo.c
+++ b/linux/drivers/media/video/usbvideo/usbvideo.c
@@ -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;