summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-02-07 19:33:08 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-07 19:33:08 -0200
commit16038adbfd2d767838c091b2513a1bcfb0272859 (patch)
treecb68ded355250284a507e62e084deadf24ea4cca /linux/drivers/media/dvb/frontends
parent27f3314c1778f6156b14b46271691acf379a9ae6 (diff)
downloadmediapointer-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/media/dvb/frontends')
-rw-r--r--linux/drivers/media/dvb/frontends/cx24110.c4
1 files changed, 2 insertions, 2 deletions
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);
};