diff options
author | Andy Walls <awalls@md.metrocast.net> | 2011-01-15 20:56:42 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-01-19 08:46:09 -0500 |
commit | 6830661ead850c0722e698da5c389db4d85079be (patch) | |
tree | 25fe496d6c201334a935a3ea713e1d634e785aa6 | |
parent | 8090232a237ab62e22307fc060097da1a283dd66 (diff) |
[media] lirc_zilog: Remove useless struct i2c_driver.command function
The ir_command() function is a do-nothing stub; remove it.
Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/staging/lirc/lirc_zilog.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/lirc/lirc_zilog.c b/drivers/staging/lirc/lirc_zilog.c index 24d4b52bd79e..18fae5442c36 100644 --- a/drivers/staging/lirc/lirc_zilog.c +++ b/drivers/staging/lirc/lirc_zilog.c | |||
@@ -1123,7 +1123,6 @@ static struct lirc_driver lirc_template = { | |||
1123 | 1123 | ||
1124 | static int ir_remove(struct i2c_client *client); | 1124 | static int ir_remove(struct i2c_client *client); |
1125 | static int ir_probe(struct i2c_client *client, const struct i2c_device_id *id); | 1125 | static int ir_probe(struct i2c_client *client, const struct i2c_device_id *id); |
1126 | static int ir_command(struct i2c_client *client, unsigned int cmd, void *arg); | ||
1127 | 1126 | ||
1128 | #define ID_FLAG_TX 0x01 | 1127 | #define ID_FLAG_TX 0x01 |
1129 | #define ID_FLAG_HDPVR 0x02 | 1128 | #define ID_FLAG_HDPVR 0x02 |
@@ -1143,7 +1142,6 @@ static struct i2c_driver driver = { | |||
1143 | }, | 1142 | }, |
1144 | .probe = ir_probe, | 1143 | .probe = ir_probe, |
1145 | .remove = ir_remove, | 1144 | .remove = ir_remove, |
1146 | .command = ir_command, | ||
1147 | .id_table = ir_transceiver_id, | 1145 | .id_table = ir_transceiver_id, |
1148 | }; | 1146 | }; |
1149 | 1147 | ||
@@ -1410,12 +1408,6 @@ out_no_ir: | |||
1410 | return ret; | 1408 | return ret; |
1411 | } | 1409 | } |
1412 | 1410 | ||
1413 | static int ir_command(struct i2c_client *client, unsigned int cmd, void *arg) | ||
1414 | { | ||
1415 | /* nothing */ | ||
1416 | return 0; | ||
1417 | } | ||
1418 | |||
1419 | static int __init zilog_init(void) | 1411 | static int __init zilog_init(void) |
1420 | { | 1412 | { |
1421 | int ret; | 1413 | int ret; |