summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-16 18:32:04 +0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-04 21:24:44 +0400
commitc677f7601fa672b4835d0ae3422a761e5e2ab27a (patch)
tree3384ac56d4881cf68b71b02d3b714e3abca48832 /drivers/media/dvb-frontends
parent22892268cd65d50b5d2faa2232fc39ebd98b7142 (diff)
downloadlinux-c677f7601fa672b4835d0ae3422a761e5e2ab27a.tar.xz
[media] drx-j: remove the unused tuner_i2c_write_read() function
This function is not static. Also, it is not used anywhere. So, drop it. Acked-by: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends')
-rw-r--r--drivers/media/dvb-frontends/drx39xyj/drxj.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/media/dvb-frontends/drx39xyj/drxj.c b/drivers/media/dvb-frontends/drx39xyj/drxj.c
index bd7ad1838d89..5bf215e33f2f 100644
--- a/drivers/media/dvb-frontends/drx39xyj/drxj.c
+++ b/drivers/media/dvb-frontends/drx39xyj/drxj.c
@@ -4204,22 +4204,6 @@ ctrl_i2c_write_read(pdrx_demod_instance_t demod, pdrxi2c_data_t i2c_data)
return (DRX_STS_FUNC_NOT_AVAILABLE);
}
-int
-tuner_i2c_write_read(struct tuner_instance *tuner,
- struct i2c_device_addr *w_dev_addr,
- u16 w_count,
- u8 *wData,
- struct i2c_device_addr *r_dev_addr, u16 r_count, u8 *r_data)
-{
- pdrx_demod_instance_t demod;
- drxi2c_data_t i2c_data =
- { 2, w_dev_addr, w_count, wData, r_dev_addr, r_count, r_data };
-
- demod = (pdrx_demod_instance_t) (tuner->my_common_attr->myUser_data);
-
- return (ctrl_i2c_write_read(demod, &i2c_data));
-}
-
/* -------------------------------------------------------------------------- */
/**
* \brief Measure result of ADC synchronisation