Commit 9eadb171 authored by Leonid V. Fedorenchik's avatar Leonid V. Fedorenchik Committed by Greg Kroah-Hartman

Staging: cx25821: Change indent with spaces to tabs 10

Change indent with spaces to tabs.
Signed-off-by: default avatarLeonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent fb5f2c80
...@@ -810,25 +810,25 @@ static int video_open(struct file *file) ...@@ -810,25 +810,25 @@ static int video_open(struct file *file)
mutex_lock(&cx25821_devlist_mutex); mutex_lock(&cx25821_devlist_mutex);
list_for_each(list, &cx25821_devlist) list_for_each(list, &cx25821_devlist)
{ {
h = list_entry(list, struct cx25821_dev, devlist); h = list_entry(list, struct cx25821_dev, devlist);
for (i = 0; i < MAX_VID_CHANNEL_NUM; i++) { for (i = 0; i < MAX_VID_CHANNEL_NUM; i++) {
if (h->channels[i].video_dev && if (h->channels[i].video_dev &&
h->channels[i].video_dev->minor == minor) { h->channels[i].video_dev->minor == minor) {
dev = h; dev = h;
ch_id = i; ch_id = i;
type = V4L2_BUF_TYPE_VIDEO_CAPTURE; type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
} }
} }
} }
if (NULL == dev) { if (NULL == dev) {
mutex_unlock(&cx25821_devlist_mutex); mutex_unlock(&cx25821_devlist_mutex);
kfree(fh); kfree(fh);
return -ENODEV; return -ENODEV;
} }
file->private_data = fh; file->private_data = fh;
fh->dev = dev; fh->dev = dev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment