summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-10-11 14:09:06 +0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-11 14:09:06 +0200
commit30237df1702f85366f07cef0b1041255e296fd28 (patch)
tree824f0a8471a61c9bd5b824e2e301c6cbfe01ff9a /linux/drivers
parent7f17cff10f65dcedee301bcf9cf8163ec2528588 (diff)
downloadmediapointer-dvb-s2-30237df1702f85366f07cef0b1041255e296fd28.tar.gz
mediapointer-dvb-s2-30237df1702f85366f07cef0b1041255e296fd28.tar.bz2
cx23885: Drop empty i2c algorithm control callback
From: Jean Delvare <khali@linux-fr.org> i2c_algorithm.algo_control no longer exists. Signed-off-by: Jean Delvare <khali@linux-fr.org> Reviewed-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/video/cx23885/cx23885-i2c.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/linux/drivers/media/video/cx23885/cx23885-i2c.c b/linux/drivers/media/video/cx23885/cx23885-i2c.c
index a177711ea..da621d2d7 100644
--- a/linux/drivers/media/video/cx23885/cx23885-i2c.c
+++ b/linux/drivers/media/video/cx23885/cx23885-i2c.c
@@ -273,12 +273,6 @@ void cx23885_call_i2c_clients(struct cx23885_i2c *bus,
i2c_clients_command(&bus->i2c_adap, cmd, arg);
}
-static int cx23885_algo_control(struct i2c_adapter *adap,
- unsigned int cmd, unsigned long arg)
-{
- return 0;
-}
-
static u32 cx23885_functionality(struct i2c_adapter *adap)
{
return I2C_FUNC_SMBUS_EMUL | I2C_FUNC_I2C;
@@ -286,7 +280,6 @@ static u32 cx23885_functionality(struct i2c_adapter *adap)
static struct i2c_algorithm cx23885_i2c_algo_template = {
.master_xfer = i2c_xfer,
- .algo_control = cx23885_algo_control,
.functionality = cx23885_functionality,
};