diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-04-08 15:06:16 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-25 00:57:53 -0400 |
commit | 4286c6f65ec01efa8f5108cadea402ecf3b12279 (patch) | |
tree | 080fc6a8f55f0ed1c9b06b5ee8421225ebe21b5b /drivers/media/radio/miropcm20-radio.c | |
parent | dcdda65fd5e70a698dd3d7e65762e178290284b7 (diff) |
V4L/DVB (3753): Whitespace cleanups at media/radio
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/radio/miropcm20-radio.c')
-rw-r--r-- | drivers/media/radio/miropcm20-radio.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/media/radio/miropcm20-radio.c b/drivers/media/radio/miropcm20-radio.c index dc292da2605f..ba1f0c105099 100644 --- a/drivers/media/radio/miropcm20-radio.c +++ b/drivers/media/radio/miropcm20-radio.c | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | /* What ever you think about the ACI, version 0x07 is not very well! | 17 | /* What ever you think about the ACI, version 0x07 is not very well! |
18 | * I can't get frequency, 'tuner status', 'tuner flags' or mute/mono | 18 | * I can't get frequency, 'tuner status', 'tuner flags' or mute/mono |
19 | * conditions... Robert | 19 | * conditions... Robert |
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include <linux/module.h> | 22 | #include <linux/module.h> |
@@ -123,7 +123,7 @@ static int pcm20_do_ioctl(struct inode *inode, struct file *file, | |||
123 | struct video_device *dev = video_devdata(file); | 123 | struct video_device *dev = video_devdata(file); |
124 | struct pcm20_device *pcm20 = dev->priv; | 124 | struct pcm20_device *pcm20 = dev->priv; |
125 | int i; | 125 | int i; |
126 | 126 | ||
127 | switch(cmd) | 127 | switch(cmd) |
128 | { | 128 | { |
129 | case VIDIOCGCAP: | 129 | case VIDIOCGCAP: |
@@ -139,7 +139,7 @@ static int pcm20_do_ioctl(struct inode *inode, struct file *file, | |||
139 | case VIDIOCGTUNER: | 139 | case VIDIOCGTUNER: |
140 | { | 140 | { |
141 | struct video_tuner *v = arg; | 141 | struct video_tuner *v = arg; |
142 | if(v->tuner) /* Only 1 tuner */ | 142 | if(v->tuner) /* Only 1 tuner */ |
143 | return -EINVAL; | 143 | return -EINVAL; |
144 | v->rangelow=87*16000; | 144 | v->rangelow=87*16000; |
145 | v->rangehigh=108*16000; | 145 | v->rangehigh=108*16000; |
@@ -172,7 +172,7 @@ static int pcm20_do_ioctl(struct inode *inode, struct file *file, | |||
172 | return i; | 172 | return i; |
173 | } | 173 | } |
174 | case VIDIOCGAUDIO: | 174 | case VIDIOCGAUDIO: |
175 | { | 175 | { |
176 | struct video_audio *v = arg; | 176 | struct video_audio *v = arg; |
177 | memset(v,0, sizeof(*v)); | 177 | memset(v,0, sizeof(*v)); |
178 | v->flags=VIDEO_AUDIO_MUTABLE; | 178 | v->flags=VIDEO_AUDIO_MUTABLE; |
@@ -183,12 +183,12 @@ static int pcm20_do_ioctl(struct inode *inode, struct file *file, | |||
183 | v->mode|=VIDEO_SOUND_MONO; | 183 | v->mode|=VIDEO_SOUND_MONO; |
184 | /* v->step=2048; */ | 184 | /* v->step=2048; */ |
185 | strcpy(v->name, "Radio"); | 185 | strcpy(v->name, "Radio"); |
186 | return 0; | 186 | return 0; |
187 | } | 187 | } |
188 | case VIDIOCSAUDIO: | 188 | case VIDIOCSAUDIO: |
189 | { | 189 | { |
190 | struct video_audio *v = arg; | 190 | struct video_audio *v = arg; |
191 | if(v->audio) | 191 | if(v->audio) |
192 | return -EINVAL; | 192 | return -EINVAL; |
193 | 193 | ||
194 | pcm20_mute(pcm20, !!(v->flags&VIDEO_AUDIO_MUTE)); | 194 | pcm20_mute(pcm20, !!(v->flags&VIDEO_AUDIO_MUTE)); |
@@ -237,7 +237,7 @@ static int __init pcm20_init(void) | |||
237 | { | 237 | { |
238 | if(video_register_device(&pcm20_radio, VFL_TYPE_RADIO, radio_nr)==-1) | 238 | if(video_register_device(&pcm20_radio, VFL_TYPE_RADIO, radio_nr)==-1) |
239 | goto video_register_device; | 239 | goto video_register_device; |
240 | 240 | ||
241 | if(attach_aci_rds()<0) | 241 | if(attach_aci_rds()<0) |
242 | goto attach_aci_rds; | 242 | goto attach_aci_rds; |
243 | 243 | ||