From 30237df1702f85366f07cef0b1041255e296fd28 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Thu, 11 Oct 2007 14:09:06 +0200 Subject: cx23885: Drop empty i2c algorithm control callback From: Jean Delvare i2c_algorithm.algo_control no longer exists. Signed-off-by: Jean Delvare Reviewed-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab --- linux/drivers/media/video/cx23885/cx23885-i2c.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'linux') 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, }; -- cgit v1.2.3