Commit 70e7f145 authored by Leonid V. Fedorenchik's avatar Leonid V. Fedorenchik Committed by Greg Kroah-Hartman

Staging: cx25821: Change indent with spaces to tabs 22

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 f9a8150c
...@@ -1208,9 +1208,9 @@ int cx25821_vidioc_qbuf(struct file *file, void *priv, struct v4l2_buffer *p) ...@@ -1208,9 +1208,9 @@ int cx25821_vidioc_qbuf(struct file *file, void *priv, struct v4l2_buffer *p)
int cx25821_vidioc_g_priority(struct file *file, void *f, enum v4l2_priority *p) int cx25821_vidioc_g_priority(struct file *file, void *f, enum v4l2_priority *p)
{ {
struct cx25821_dev *dev = ((struct cx25821_fh *)f)->dev; struct cx25821_dev *dev = ((struct cx25821_fh *)f)->dev;
struct cx25821_fh *fh = f; struct cx25821_fh *fh = f;
*p = v4l2_prio_max(&dev->channels[fh->channel_id].prio); *p = v4l2_prio_max(&dev->channels[fh->channel_id].prio);
return 0; return 0;
} }
...@@ -1221,8 +1221,8 @@ int cx25821_vidioc_s_priority(struct file *file, void *f, ...@@ -1221,8 +1221,8 @@ int cx25821_vidioc_s_priority(struct file *file, void *f,
struct cx25821_fh *fh = f; struct cx25821_fh *fh = f;
struct cx25821_dev *dev = ((struct cx25821_fh *)f)->dev; struct cx25821_dev *dev = ((struct cx25821_fh *)f)->dev;
return v4l2_prio_change(&dev->channels[fh->channel_id] return v4l2_prio_change(&dev->channels[fh->channel_id].prio, &fh->prio,
.prio, &fh->prio, prio); prio);
} }
#ifdef TUNER_FLAG #ifdef TUNER_FLAG
...@@ -1235,15 +1235,14 @@ int cx25821_vidioc_s_std(struct file *file, void *priv, v4l2_std_id * tvnorms) ...@@ -1235,15 +1235,14 @@ int cx25821_vidioc_s_std(struct file *file, void *priv, v4l2_std_id * tvnorms)
dprintk(1, "%s()\n", __func__); dprintk(1, "%s()\n", __func__);
if (fh) { if (fh) {
err = v4l2_prio_check(&dev->channels[fh->channel_id] err = v4l2_prio_check(&dev->channels[fh->channel_id].prio,
.prio, fh->prio); fh->prio);
if (0 != err) if (0 != err)
return err; return err;
} }
if (dev->tvnorm == *tvnorms) { if (dev->tvnorm == *tvnorms)
return 0; return 0;
}
mutex_lock(&dev->lock); mutex_lock(&dev->lock);
cx25821_set_tvnorm(dev, *tvnorms); cx25821_set_tvnorm(dev, *tvnorms);
...@@ -1257,7 +1256,7 @@ int cx25821_vidioc_s_std(struct file *file, void *priv, v4l2_std_id * tvnorms) ...@@ -1257,7 +1256,7 @@ int cx25821_vidioc_s_std(struct file *file, void *priv, v4l2_std_id * tvnorms)
int cx25821_enum_input(struct cx25821_dev *dev, struct v4l2_input *i) int cx25821_enum_input(struct cx25821_dev *dev, struct v4l2_input *i)
{ {
static const char *iname[] = { static const char * const iname[] = {
[CX25821_VMUX_COMPOSITE] = "Composite", [CX25821_VMUX_COMPOSITE] = "Composite",
[CX25821_VMUX_SVIDEO] = "S-Video", [CX25821_VMUX_SVIDEO] = "S-Video",
[CX25821_VMUX_DEBUG] = "for debug only", [CX25821_VMUX_DEBUG] = "for debug only",
...@@ -1305,8 +1304,8 @@ int cx25821_vidioc_s_input(struct file *file, void *priv, unsigned int i) ...@@ -1305,8 +1304,8 @@ int cx25821_vidioc_s_input(struct file *file, void *priv, unsigned int i)
dprintk(1, "%s(%d)\n", __func__, i); dprintk(1, "%s(%d)\n", __func__, i);
if (fh) { if (fh) {
err = v4l2_prio_check(&dev->channels[fh->channel_id] err = v4l2_prio_check(&dev->channels[fh->channel_id].prio,
.prio, fh->prio); fh->prio);
if (0 != err) if (0 != err)
return err; return err;
} }
......
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