OSDN Git Service

Staging: cx25821: Change indent with spaces to tabs 15
authorLeonid V. Fedorenchik <leonidsbox@gmail.com>
Fri, 16 Sep 2011 06:14:52 +0000 (14:14 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Sep 2011 18:45:43 +0000 (20:45 +0200)
Change indent with spaces to tabs.

Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/cx25821/cx25821-video.c

index 75bc44e..83872c8 100644 (file)
@@ -949,20 +949,20 @@ static int video_release(struct file *file)
 
 static int vidioc_streamon(struct file *file, void *priv, enum v4l2_buf_type i)
 {
-       struct cx25821_fh *fh = priv;
-       struct cx25821_dev *dev = fh->dev;
+       struct cx25821_fh *fh = priv;
+       struct cx25821_dev *dev = fh->dev;
 
-       if (unlikely(fh->type != V4L2_BUF_TYPE_VIDEO_CAPTURE))
-              return -EINVAL;
+       if (unlikely(fh->type != V4L2_BUF_TYPE_VIDEO_CAPTURE))
+               return -EINVAL;
 
-       if (unlikely(i != fh->type))
-              return -EINVAL;
+       if (unlikely(i != fh->type))
+               return -EINVAL;
 
-       if (unlikely(!cx25821_res_get(dev, fh,
-                      cx25821_get_resource(fh, RESOURCE_VIDEO0))))
-              return -EBUSY;
+       if (unlikely(!cx25821_res_get(dev, fh, cx25821_get_resource(fh,
+                                               RESOURCE_VIDEO0))))
+               return -EBUSY;
 
-       return videobuf_streamon(get_queue(fh));
+       return videobuf_streamon(get_queue(fh));
 }
 
 static int vidioc_streamoff(struct file *file, void *priv, enum v4l2_buf_type i)