diff options
Diffstat (limited to 'drivers/i2c/i2c-dev.c')
-rw-r--r-- | drivers/i2c/i2c-dev.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/i2c/i2c-dev.c b/drivers/i2c/i2c-dev.c index ad6e04fc2c03..ed7eed388bae 100644 --- a/drivers/i2c/i2c-dev.c +++ b/drivers/i2c/i2c-dev.c | |||
@@ -464,12 +464,6 @@ static int i2cdev_detach_client(struct i2c_client *client) | |||
464 | return 0; | 464 | return 0; |
465 | } | 465 | } |
466 | 466 | ||
467 | static int i2cdev_command(struct i2c_client *client, unsigned int cmd, | ||
468 | void *arg) | ||
469 | { | ||
470 | return -1; | ||
471 | } | ||
472 | |||
473 | static struct i2c_driver i2cdev_driver = { | 467 | static struct i2c_driver i2cdev_driver = { |
474 | .driver = { | 468 | .driver = { |
475 | .name = "dev_driver", | 469 | .name = "dev_driver", |
@@ -478,7 +472,6 @@ static struct i2c_driver i2cdev_driver = { | |||
478 | .attach_adapter = i2cdev_attach_adapter, | 472 | .attach_adapter = i2cdev_attach_adapter, |
479 | .detach_adapter = i2cdev_detach_adapter, | 473 | .detach_adapter = i2cdev_detach_adapter, |
480 | .detach_client = i2cdev_detach_client, | 474 | .detach_client = i2cdev_detach_client, |
481 | .command = i2cdev_command, | ||
482 | }; | 475 | }; |
483 | 476 | ||
484 | static struct i2c_client i2cdev_client_template = { | 477 | static struct i2c_client i2cdev_client_template = { |