summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorJohannes Stezenbach <devnull@localhost>2005-05-05 20:31:14 +0000
committerJohannes Stezenbach <devnull@localhost>2005-05-05 20:31:14 +0000
commit5ae2dd3d81b98e804e5af9abcab009d82bbb0a30 (patch)
treea7c69b7add71aa49f0c5b207055e82c411464940 /linux/drivers/media/dvb
parenta6f26169710f0ab9d2fdc6b226ae4452c914d1d1 (diff)
downloadmediapointer-dvb-s2-5ae2dd3d81b98e804e5af9abcab009d82bbb0a30.tar.gz
mediapointer-dvb-s2-5ae2dd3d81b98e804e5af9abcab009d82bbb0a30.tar.bz2
sync back whitespace cleanups from kernel
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/frontends/cx24110.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/linux/drivers/media/dvb/frontends/cx24110.c b/linux/drivers/media/dvb/frontends/cx24110.c
index be367949a..8222b88cb 100644
--- a/linux/drivers/media/dvb/frontends/cx24110.c
+++ b/linux/drivers/media/dvb/frontends/cx24110.c
@@ -385,15 +385,15 @@ static int cx24110_set_voltage (struct dvb_frontend* fe, fe_sec_voltage_t voltag
};
}
-static int cx24110_diseqc_send_burst (struct dvb_frontend* fe, fe_sec_mini_cmd_t burst)
+static int cx24110_diseqc_send_burst(struct dvb_frontend* fe, fe_sec_mini_cmd_t burst)
{
int rv, bit, i;
struct cx24110_state *state = fe->demodulator_priv;
if (burst == SEC_MINI_A)
- bit=0x00;
- else if(burst == SEC_MINI_B)
- bit=0x08;
+ bit = 0x00;
+ else if (burst == SEC_MINI_B)
+ bit = 0x08;
else
return -EINVAL;
@@ -402,8 +402,8 @@ static int cx24110_diseqc_send_burst (struct dvb_frontend* fe, fe_sec_mini_cmd_t
rv = cx24110_readreg(state, 0x76);
cx24110_writereg(state, 0x76, ((rv & 0x90) | 0x40 | bit));
- for (i=500; i-- > 0 && !(cx24110_readreg(state,0x76)&0x40);)
- ; /* wait for LNB ready */
+ for (i = 500; i-- > 0 && !(cx24110_readreg(state,0x76)&0x40) ; )
+ ; /* wait for LNB ready */
return 0;
}
@@ -640,9 +640,9 @@ static struct dvb_frontend_ops cx24110_ops = {
.read_ucblocks = cx24110_read_ucblocks,
.diseqc_send_master_cmd = cx24110_send_diseqc_msg,
- .diseqc_send_burst = cx24110_diseqc_send_burst,
.set_tone = cx24110_set_tone,
.set_voltage = cx24110_set_voltage,
+ .diseqc_send_burst = cx24110_diseqc_send_burst,
};
module_param(debug, int, 0644);