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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
fb5f2c8010
commit
9eadb1711c
@@ -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;
|
||||||
|
Reference in New Issue
Block a user