提交 6830661e 编写于 作者: A Andy Walls 提交者: Mauro Carvalho Chehab

[media] lirc_zilog: Remove useless struct i2c_driver.command function

The ir_command() function is a do-nothing stub; remove it.
Signed-off-by: NAndy Walls <awalls@md.metrocast.net>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 8090232a
...@@ -1123,7 +1123,6 @@ static struct lirc_driver lirc_template = { ...@@ -1123,7 +1123,6 @@ static struct lirc_driver lirc_template = {
static int ir_remove(struct i2c_client *client); static int ir_remove(struct i2c_client *client);
static int ir_probe(struct i2c_client *client, const struct i2c_device_id *id); static int ir_probe(struct i2c_client *client, const struct i2c_device_id *id);
static int ir_command(struct i2c_client *client, unsigned int cmd, void *arg);
#define ID_FLAG_TX 0x01 #define ID_FLAG_TX 0x01
#define ID_FLAG_HDPVR 0x02 #define ID_FLAG_HDPVR 0x02
...@@ -1143,7 +1142,6 @@ static struct i2c_driver driver = { ...@@ -1143,7 +1142,6 @@ static struct i2c_driver driver = {
}, },
.probe = ir_probe, .probe = ir_probe,
.remove = ir_remove, .remove = ir_remove,
.command = ir_command,
.id_table = ir_transceiver_id, .id_table = ir_transceiver_id,
}; };
...@@ -1410,12 +1408,6 @@ static int ir_probe(struct i2c_client *client, const struct i2c_device_id *id) ...@@ -1410,12 +1408,6 @@ static int ir_probe(struct i2c_client *client, const struct i2c_device_id *id)
return ret; return ret;
} }
static int ir_command(struct i2c_client *client, unsigned int cmd, void *arg)
{
/* nothing */
return 0;
}
static int __init zilog_init(void) static int __init zilog_init(void)
{ {
int ret; int ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册