diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-02-27 16:05:38 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-02-27 16:05:38 -0300 |
commit | 934fb03d987f52957eb7d90294c2a34bf632877b (patch) | |
tree | db2de0ec806d86f9910fd5e0ce9242ccfde66d37 | |
parent | 4fd232d7288d78d3df0efdfa915ad3c7aa51f805 (diff) | |
download | mediapointer-dvb-s2-934fb03d987f52957eb7d90294c2a34bf632877b.tar.gz mediapointer-dvb-s2-934fb03d987f52957eb7d90294c2a34bf632877b.tar.bz2 |
tea575x-tuner.c: fix some CodingStyle troubles on the previous patch
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-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; } |