aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor M. Liplianin <liplianin@tut.by>2008-10-30 21:04:56 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-29 14:53:27 -0500
commit886134e4be4e9ef585b0ecde5eebcaf37ee78f80 (patch)
treeae3979b8dcd676250b9c33ec8e87abdf3aeba7ec
parentf4167342b572c6122c712e8c6e5391808c1e5503 (diff)
V4L/DVB (9520): stb0899 Remove double .read_status assignment
Currently in stb0899 code it appears double .read_status assignment Send patch to fix it. Cc: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Igor M. Liplianin <liplianin@me.by> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/dvb/frontends/stb0899_drv.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/media/dvb/frontends/stb0899_drv.c b/drivers/media/dvb/frontends/stb0899_drv.c
index 8a329d6e6e85..528820170228 100644
--- a/drivers/media/dvb/frontends/stb0899_drv.c
+++ b/drivers/media/dvb/frontends/stb0899_drv.c
@@ -272,9 +272,9 @@ int stb0899_read_reg(struct stb0899_state *state, unsigned int reg)
272} 272}
273 273
274u32 _stb0899_read_s2reg(struct stb0899_state *state, 274u32 _stb0899_read_s2reg(struct stb0899_state *state,
275 u32 stb0899_i2cdev, 275 u32 stb0899_i2cdev,
276 u32 stb0899_base_addr, 276 u32 stb0899_base_addr,
277 u16 stb0899_reg_offset) 277 u16 stb0899_reg_offset)
278{ 278{
279 int status; 279 int status;
280 u32 data; 280 u32 data;
@@ -1637,7 +1637,6 @@ static struct dvb_frontend_ops stb0899_ops = {
1637 .read_status = stb0899_read_status, 1637 .read_status = stb0899_read_status,
1638 .read_snr = stb0899_read_snr, 1638 .read_snr = stb0899_read_snr,
1639 .read_signal_strength = stb0899_read_signal_strength, 1639 .read_signal_strength = stb0899_read_signal_strength,
1640 .read_status = stb0899_read_status,
1641 .read_ber = stb0899_read_ber, 1640 .read_ber = stb0899_read_ber,
1642 1641
1643 .set_voltage = stb0899_set_voltage, 1642 .set_voltage = stb0899_set_voltage,