提交 cdeec3cc 编写于 作者: J Jean Delvare 提交者: Jean Delvare

cx23885: Drop empty i2c algorithm control callback

i2c_algorithm.algo_control is about to be removed.
Signed-off-by: NJean Delvare <khali@linux-fr.org>
Reviewed-by: NMichael Krufky <mkrufky@linuxtv.org>
Acked-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 3be27d37
无相关合并请求
...@@ -272,12 +272,6 @@ void cx23885_call_i2c_clients(struct cx23885_i2c *bus, ...@@ -272,12 +272,6 @@ void cx23885_call_i2c_clients(struct cx23885_i2c *bus,
i2c_clients_command(&bus->i2c_adap, cmd, arg); 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) static u32 cx23885_functionality(struct i2c_adapter *adap)
{ {
return I2C_FUNC_SMBUS_EMUL | I2C_FUNC_I2C; return I2C_FUNC_SMBUS_EMUL | I2C_FUNC_I2C;
...@@ -285,7 +279,6 @@ static u32 cx23885_functionality(struct i2c_adapter *adap) ...@@ -285,7 +279,6 @@ static u32 cx23885_functionality(struct i2c_adapter *adap)
static struct i2c_algorithm cx23885_i2c_algo_template = { static struct i2c_algorithm cx23885_i2c_algo_template = {
.master_xfer = i2c_xfer, .master_xfer = i2c_xfer,
.algo_control = cx23885_algo_control,
.functionality = cx23885_functionality, .functionality = cx23885_functionality,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部