summaryrefslogtreecommitdiff
path: root/drivers/staging/cx25821/cx25821-video.c
diff options
context:
space:
mode:
authorLeonid V. Fedorenchik <leonidsbox@gmail.com>2011-09-16 06:14:47 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-09-16 18:45:42 (GMT)
commit9eadb1711cd76710efd89b4b801e2180b2938d5f (patch)
treef1abde0be5cc5d9a5395a018fe44e7817684f2d3 /drivers/staging/cx25821/cx25821-video.c
parentfb5f2c8010b5cd81e8114dc8a3f853cee5fc4c1c (diff)
downloadlinux-fsl-qoriq-9eadb1711cd76710efd89b4b801e2180b2938d5f.tar.xz
Staging: cx25821: Change indent with spaces to tabs 10
Change indent with spaces to tabs. Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/cx25821/cx25821-video.c')
-rw-r--r--drivers/staging/cx25821/cx25821-video.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/drivers/staging/cx25821/cx25821-video.c b/drivers/staging/cx25821/cx25821-video.c
index 268f51b..61fa7af 100644
--- a/drivers/staging/cx25821/cx25821-video.c
+++ b/drivers/staging/cx25821/cx25821-video.c
@@ -810,25 +810,25 @@ static int video_open(struct file *file)
mutex_lock(&cx25821_devlist_mutex);
- list_for_each(list, &cx25821_devlist)
- {
- h = list_entry(list, struct cx25821_dev, devlist);
+ list_for_each(list, &cx25821_devlist)
+ {
+ h = list_entry(list, struct cx25821_dev, devlist);
- for (i = 0; i < MAX_VID_CHANNEL_NUM; i++) {
- if (h->channels[i].video_dev &&
+ for (i = 0; i < MAX_VID_CHANNEL_NUM; i++) {
+ if (h->channels[i].video_dev &&
h->channels[i].video_dev->minor == minor) {
- dev = h;
- ch_id = i;
- type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
- }
- }
- }
+ dev = h;
+ ch_id = i;
+ type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
+ }
+ }
+ }
- if (NULL == dev) {
+ if (NULL == dev) {
mutex_unlock(&cx25821_devlist_mutex);
kfree(fh);
return -ENODEV;
- }
+ }
file->private_data = fh;
fh->dev = dev;