summaryrefslogtreecommitdiff
path: root/drivers/media/video/videodev.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@brturbo.com.br>2006-01-09 17:25:21 (GMT)
committerMauro Carvalho Chehab <mchehab@brturbo.com.br>2006-01-09 17:25:21 (GMT)
commitd21838dd7d098e102ced2fafed62dcb133c4d71c (patch)
treeed8a319559745e9286a1ee1cf0067e08b202b066 /drivers/media/video/videodev.c
parentb060c25f70adb20532dacefa72029d1d2db1a7f1 (diff)
downloadlinux-fsl-qoriq-d21838dd7d098e102ced2fafed62dcb133c4d71c.tar.xz
V4L/DVB (3123b): syncs V4L subsystem tree with kernel
- This patch makes kernel in sync with v4l subsystem tree. - some lines reordered to be sync. - some reduntant codes removed. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'drivers/media/video/videodev.c')
-rw-r--r--drivers/media/video/videodev.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/video/videodev.c b/drivers/media/video/videodev.c
index 6de5b00..7df6a55 100644
--- a/drivers/media/video/videodev.c
+++ b/drivers/media/video/videodev.c
@@ -68,7 +68,8 @@ static void video_release(struct class_device *cd)
{
struct video_device *vfd = container_of(cd, struct video_device, class_dev);
-#if 1 /* needed until all drivers are fixed */
+#if 1
+ /* needed until all drivers are fixed */
if (!vfd->release)
return;
#endif
@@ -344,7 +345,8 @@ int video_register_device(struct video_device *vfd, int type, int nr)
class_device_create_file(&vfd->class_dev,
&class_device_attr_name);
-#if 1 /* needed until all drivers are fixed */
+#if 1
+ /* needed until all drivers are fixed */
if (!vfd->release)
printk(KERN_WARNING "videodev: \"%s\" has no release callback. "
"Please fix your driver for proper sysfs support, see "