diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-02-07 19:33:08 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-02-07 19:33:08 -0200 |
commit | 16038adbfd2d767838c091b2513a1bcfb0272859 (patch) | |
tree | cb68ded355250284a507e62e084deadf24ea4cca /linux/drivers | |
parent | 27f3314c1778f6156b14b46271691acf379a9ae6 (diff) | |
download | mediapointer-dvb-s2-16038adbfd2d767838c091b2513a1bcfb0272859.tar.gz mediapointer-dvb-s2-16038adbfd2d767838c091b2513a1bcfb0272859.tar.bz2 |
CodingStyle cleanups
From: Ahmed S. Darwish <darwish.07@gmail.com>
After commited at the tree, Ahmed re-sent his patch with some
codingstyle cleanups. This diff-patch will be folded with the first one
at -git.
Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c | 2 | ||||
-rw-r--r-- | linux/drivers/media/dvb/frontends/cx24110.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c index 43ba7cadb..de7701f0f 100644 --- a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c +++ b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c @@ -215,7 +215,7 @@ static int cx24108_tuner_set_params(struct dvb_frontend* fe, struct dvb_frontend freq = 2150000; /* satellite IF is 950..2150MHz */ /* decide which VCO to use for the input frequency */ - for(i=1;(i<ARRAY_SIZE(osci))&&(osci[i]<freq);i++); + for(i = 1; (i < ARRAY_SIZE(osci)) && (osci[i] < freq); i++); printk("cx24108 debug: select vco #%d (f=%d)\n",i,freq); band=bandsel[i]; /* the gain values must be set by SetSymbolrate */ diff --git a/linux/drivers/media/dvb/frontends/cx24110.c b/linux/drivers/media/dvb/frontends/cx24110.c index 96ae6b1ae..10fc0c831 100644 --- a/linux/drivers/media/dvb/frontends/cx24110.c +++ b/linux/drivers/media/dvb/frontends/cx24110.c @@ -254,7 +254,7 @@ static int cx24110_set_symbolrate (struct cx24110_state* state, u32 srate) if (srate<500000) srate=500000; - for(i=0;(i<ARRAY_SIZE(bands))&&(srate>bands[i]);i++) + for(i = 0; (i < ARRAY_SIZE(bands)) && (srate>bands[i]); i++) ; /* first, check which sample rate is appropriate: 45, 60 80 or 90 MHz, and set the PLL accordingly (R07[1:0] Fclk, R06[7:4] PLLmult, @@ -361,7 +361,7 @@ static int cx24110_initfe(struct dvb_frontend* fe) dprintk("%s: init chip\n", __FUNCTION__); - for(i=0;i<ARRAY_SIZE(cx24110_regdata);i++) { + for(i = 0; i < ARRAY_SIZE(cx24110_regdata); i++) { cx24110_writereg(state, cx24110_regdata[i].reg, cx24110_regdata[i].data); }; |