diff options
author | Patrick Boettcher <devnull@localhost> | 2005-08-14 15:28:01 +0000 |
---|---|---|
committer | Patrick Boettcher <devnull@localhost> | 2005-08-14 15:28:01 +0000 |
commit | 95e4ed02d8fd299237263db54f8c0a0d97001026 (patch) | |
tree | e03ab0a2c8b9638c7cdc1f8578a7649914018e3f /linux/drivers/media/dvb/frontends | |
parent | a1ab9acc80a0958c51d1bad1ece8a16d5e8482ae (diff) | |
download | mediapointer-dvb-s2-95e4ed02d8fd299237263db54f8c0a0d97001026.tar.gz mediapointer-dvb-s2-95e4ed02d8fd299237263db54f8c0a0d97001026.tar.bz2 |
some white spaces cleaned up
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/frontends')
-rw-r--r-- | linux/drivers/media/dvb/frontends/lgdt330x.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/linux/drivers/media/dvb/frontends/lgdt330x.c b/linux/drivers/media/dvb/frontends/lgdt330x.c index 0e21ef1d2..58bad7338 100644 --- a/linux/drivers/media/dvb/frontends/lgdt330x.c +++ b/linux/drivers/media/dvb/frontends/lgdt330x.c @@ -229,12 +229,12 @@ static int lgdt330x_init(struct dvb_frontend* fe) chip_name = "LGDT3302"; err = i2c_write_demod_bytes(state, lgdt3302_init_data, sizeof(lgdt3302_init_data)); - break; + break; case LGDT3303: chip_name = "LGDT3303"; err = i2c_write_demod_bytes(state, lgdt3303_init_data, sizeof(lgdt3303_init_data)); - break; + break; default: chip_name = "undefined"; printk (KERN_WARNING "Only LGDT3302 and LGDT3303 are supported chips.\n"); @@ -257,22 +257,22 @@ static int lgdt330x_read_ucblocks(struct dvb_frontend* fe, u32* ucblocks) struct lgdt330x_state* state = fe->demodulator_priv; int err; u8 buf[2]; - + switch (state->config->demod_chip) { case LGDT3302: err = i2c_read_demod_bytes(state, LGDT3302_PACKET_ERR_COUNTER1, buf, sizeof(buf)); - break; + break; case LGDT3303: err = i2c_read_demod_bytes(state, LGDT3303_PACKET_ERR_COUNTER1, buf, sizeof(buf)); - break; + break; default: printk(KERN_WARNING "Only LGDT3302 and LGDT3303 are supported chips.\n"); err = -ENODEV; } - + *ucblocks = (buf[0] << 8) | buf[1]; return 0; } |