summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor M. Liplianin <liplianin@tut.by>2008-10-30 22:04:56 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-29 17:53:27 -0200
commit886134e4be4e9ef585b0ecde5eebcaf37ee78f80 (patch)
treeae3979b8dcd676250b9c33ec8e87abdf3aeba7ec
parentf4167342b572c6122c712e8c6e5391808c1e5503 (diff)
downloadkernel-crypto-886134e4be4e9ef585b0ecde5eebcaf37ee78f80.tar.gz
kernel-crypto-886134e4be4e9ef585b0ecde5eebcaf37ee78f80.tar.xz
kernel-crypto-886134e4be4e9ef585b0ecde5eebcaf37ee78f80.zip
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 8a329d6e6e8..52882017022 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)
}
u32 _stb0899_read_s2reg(struct stb0899_state *state,
- u32 stb0899_i2cdev,
- u32 stb0899_base_addr,
- u16 stb0899_reg_offset)
+ u32 stb0899_i2cdev,
+ u32 stb0899_base_addr,
+ u16 stb0899_reg_offset)
{
int status;
u32 data;
@@ -1637,7 +1637,6 @@ static struct dvb_frontend_ops stb0899_ops = {
.read_status = stb0899_read_status,
.read_snr = stb0899_read_snr,
.read_signal_strength = stb0899_read_signal_strength,
- .read_status = stb0899_read_status,
.read_ber = stb0899_read_ber,
.set_voltage = stb0899_set_voltage,