aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/i2c-dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/i2c-dev.c')
-rw-r--r--drivers/i2c/i2c-dev.c7
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
467static int i2cdev_command(struct i2c_client *client, unsigned int cmd,
468 void *arg)
469{
470 return -1;
471}
472
473static struct i2c_driver i2cdev_driver = { 467static 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
484static struct i2c_client i2cdev_client_template = { 477static struct i2c_client i2cdev_client_template = {