diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-07 02:23:25 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-20 23:17:45 -0400 |
commit | 955e6ed843ddddb57cf599584574c505175cd86f (patch) | |
tree | 0097153f176763129304c50f2e5b1136b8d121e9 /drivers/media/dvb | |
parent | 61b04cb24a129f2483d5110e119fc2e365177741 (diff) |
[media] CodingStyle cleanup at s5h1432 and cx231xx
The patches received from the vendor contained a lot of CodingStyle
issues. Cleans the style issues reported by checkpatch.pl on
those drivers.
It is better to do such style fixes when merging a big set of
changes than latter. Of course, the better is to receive patches
already cleaned ;)
Acked-by: Sri Deevi <Srinivasa.Deevi@conexant.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/frontends/s5h1432.c | 45 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/s5h1432.h | 43 |
2 files changed, 38 insertions, 50 deletions
diff --git a/drivers/media/dvb/frontends/s5h1432.c b/drivers/media/dvb/frontends/s5h1432.c index 5fc3bf5f1c0b..0c6dcb90d168 100644 --- a/drivers/media/dvb/frontends/s5h1432.c +++ b/drivers/media/dvb/frontends/s5h1432.c | |||
@@ -1,23 +1,22 @@ | |||
1 | /* | 1 | /* |
2 | Samsung s5h1432 DVB-T demodulator driver | 2 | * Samsung s5h1432 DVB-T demodulator driver |
3 | 3 | * | |
4 | Copyright (C) 2009 Bill Liu <Bill.Liu@Conexant.com> | 4 | * Copyright (C) 2009 Bill Liu <Bill.Liu@Conexant.com> |
5 | 5 | * | |
6 | This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
8 | the Free Software Foundation; either version 2 of the License, or | 8 | * the Free Software Foundation; either version 2 of the License, or |
9 | (at your option) any later version. | 9 | * (at your option) any later version. |
10 | 10 | * | |
11 | This program is distributed in the hope that it will be useful, | 11 | * This program is distributed in the hope that it will be useful, |
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | GNU General Public License for more details. | 14 | * GNU General Public License for more details. |
15 | 15 | * | |
16 | You should have received a copy of the GNU General Public License | 16 | * You should have received a copy of the GNU General Public License |
17 | along with this program; if not, write to the Free Software | 17 | * along with this program; if not, write to the Free Software |
18 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 18 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
19 | 19 | */ | |
20 | */ | ||
21 | 20 | ||
22 | #include <linux/kernel.h> | 21 | #include <linux/kernel.h> |
23 | #include <linux/init.h> | 22 | #include <linux/init.h> |
@@ -162,7 +161,7 @@ static int s5h1432_set_IF(struct dvb_frontend *fe, u32 ifFreqHz) | |||
162 | value = (u32) (((48000 - (ifFreqHz / 1000)) * 512 * | 161 | value = (u32) (((48000 - (ifFreqHz / 1000)) * 512 * |
163 | (u32) 32768) / (48 * 1000)); | 162 | (u32) 32768) / (48 * 1000)); |
164 | printk(KERN_INFO | 163 | printk(KERN_INFO |
165 | "Default IFFreq %d :reg value = 0x%x \n", | 164 | "Default IFFreq %d :reg value = 0x%x\n", |
166 | ifFreqHz, value); | 165 | ifFreqHz, value); |
167 | s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe4, | 166 | s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe4, |
168 | (u8) value & 0xFF); | 167 | (u8) value & 0xFF); |
@@ -379,7 +378,6 @@ error: | |||
379 | kfree(state); | 378 | kfree(state); |
380 | return NULL; | 379 | return NULL; |
381 | } | 380 | } |
382 | |||
383 | EXPORT_SYMBOL(s5h1432_attach); | 381 | EXPORT_SYMBOL(s5h1432_attach); |
384 | 382 | ||
385 | static struct dvb_frontend_ops s5h1432_ops = { | 383 | static struct dvb_frontend_ops s5h1432_ops = { |
@@ -415,8 +413,3 @@ MODULE_PARM_DESC(debug, "Enable verbose debug messages"); | |||
415 | MODULE_DESCRIPTION("Samsung s5h1432 DVB-T Demodulator driver"); | 413 | MODULE_DESCRIPTION("Samsung s5h1432 DVB-T Demodulator driver"); |
416 | MODULE_AUTHOR("Bill Liu"); | 414 | MODULE_AUTHOR("Bill Liu"); |
417 | MODULE_LICENSE("GPL"); | 415 | MODULE_LICENSE("GPL"); |
418 | |||
419 | /* | ||
420 | * Local variables: | ||
421 | * c-basic-offset: 8 | ||
422 | */ | ||
diff --git a/drivers/media/dvb/frontends/s5h1432.h b/drivers/media/dvb/frontends/s5h1432.h index 6ed654fb9b16..b57438c32546 100644 --- a/drivers/media/dvb/frontends/s5h1432.h +++ b/drivers/media/dvb/frontends/s5h1432.h | |||
@@ -1,23 +1,23 @@ | |||
1 | /* | 1 | /* |
2 | Samsung s5h1432 VSB/QAM demodulator driver | 2 | * Samsung s5h1432 VSB/QAM demodulator driver |
3 | 3 | * | |
4 | Copyright (C) 2009 Bill Liu <Bill.Liu@Conexant.com> | 4 | * Copyright (C) 2009 Bill Liu <Bill.Liu@Conexant.com> |
5 | 5 | * | |
6 | This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
8 | the Free Software Foundation; either version 2 of the License, or | 8 | * the Free Software Foundation; either version 2 of the License, or |
9 | (at your option) any later version. | 9 | * (at your option) any later version. |
10 | 10 | * | |
11 | This program is distributed in the hope that it will be useful, | 11 | * This program is distributed in the hope that it will be useful, |
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | GNU General Public License for more details. | 14 | * GNU General Public License for more details. |
15 | 15 | * | |
16 | You should have received a copy of the GNU General Public License | 16 | * You should have received a copy of the GNU General Public License |
17 | along with this program; if not, write to the Free Software | 17 | * along with this program; if not, write to the Free Software |
18 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 18 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
19 | 19 | * | |
20 | */ | 20 | */ |
21 | 21 | ||
22 | #ifndef __S5H1432_H__ | 22 | #ifndef __S5H1432_H__ |
23 | #define __S5H1432_H__ | 23 | #define __S5H1432_H__ |
@@ -89,8 +89,3 @@ static inline struct dvb_frontend *s5h1432_attach(const struct s5h1432_config | |||
89 | #endif /* CONFIG_DVB_s5h1432 */ | 89 | #endif /* CONFIG_DVB_s5h1432 */ |
90 | 90 | ||
91 | #endif /* __s5h1432_H__ */ | 91 | #endif /* __s5h1432_H__ */ |
92 | |||
93 | /* | ||
94 | * Local variables: | ||
95 | * c-basic-offset: 8 | ||
96 | */ | ||