diff options
Diffstat (limited to 'linux/sound/i2c/other/tea575x-tuner.c')
-rw-r--r-- | linux/sound/i2c/other/tea575x-tuner.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/linux/sound/i2c/other/tea575x-tuner.c b/linux/sound/i2c/other/tea575x-tuner.c index 08c653df9..43f4ff1f4 100644 --- a/linux/sound/i2c/other/tea575x-tuner.c +++ b/linux/sound/i2c/other/tea575x-tuner.c @@ -35,9 +35,9 @@ MODULE_LICENSE("GPL"); static int radio_nr = -1; module_param(radio_nr, int, 0); -#define RADIO_VERSION KERNEL_VERSION(0,0,2) -#define FREQ_LO 87*16000 -#define FREQ_HI 108*16000 +#define RADIO_VERSION KERNEL_VERSION(0, 0, 2) +#define FREQ_LO (87 * 16000) +#define FREQ_HI (108 * 16000) /* * definitions @@ -312,7 +312,8 @@ void snd_tea575x_init(struct snd_tea575x *tea) val = tea->ops->read(tea); if (val == 0x1ffffff || val == 0) { - snd_printk(KERN_ERR "tea575x-tuner: Cannot find TEA575x chip\n"); + snd_printk(KERN_ERR + "tea575x-tuner: Cannot find TEA575x chip\n"); return; } @@ -328,14 +329,16 @@ void snd_tea575x_init(struct snd_tea575x *tea) memcpy(tea575x_radio_inst, &tea575x_radio, sizeof(tea575x_radio)); - strcpy(tea575x_radio.name, tea->tea5759 ? "TEA5759 radio" : "TEA5757 radio"); + strcpy(tea575x_radio.name, tea->tea5759 ? + "TEA5759 radio" : "TEA5757 radio"); video_set_drvdata(tea575x_radio_inst, tea); - retval = video_register_device(tea575x_radio_inst, VFL_TYPE_RADIO, radio_nr); + retval = video_register_device(tea575x_radio_inst, + VFL_TYPE_RADIO, radio_nr); if (retval) { printk(KERN_ERR "tea575x-tuner: can't register video device!\n"); - kfree (tea575x_radio_inst); + kfree(tea575x_radio_inst); return; } |