Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16709
b: refs/heads/master
c: d564bae
h: refs/heads/master
i:
  16707: 6ca4a32
v: v3
  • Loading branch information
Laurent Riffard authored and Greg Kroah-Hartman committed Jan 6, 2006
1 parent 7c3283d commit d126334
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 27 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 04b4b8434a92b9ef127985113c0bd961957778b7
refs/heads/master: d564baee2984098c73fd0e55bc5c8a890878ef3b
7 changes: 0 additions & 7 deletions trunk/drivers/i2c/i2c-dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -464,12 +464,6 @@ static int i2cdev_detach_client(struct i2c_client *client)
return 0;
}

static int i2cdev_command(struct i2c_client *client, unsigned int cmd,
void *arg)
{
return -1;
}

static struct i2c_driver i2cdev_driver = {
.driver = {
.name = "dev_driver",
Expand All @@ -478,7 +472,6 @@ static struct i2c_driver i2cdev_driver = {
.attach_adapter = i2cdev_attach_adapter,
.detach_adapter = i2cdev_detach_adapter,
.detach_client = i2cdev_detach_client,
.command = i2cdev_command,
};

static struct i2c_client i2cdev_client_template = {
Expand Down
7 changes: 0 additions & 7 deletions trunk/drivers/media/video/saa5246a.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,6 @@ static int saa5246a_detach(struct i2c_client *client)
return 0;
}

static int saa5246a_command(struct i2c_client *device, unsigned int cmd,
void *arg)
{
return -EINVAL;
}

/*
* I2C interfaces
*/
Expand All @@ -169,7 +163,6 @@ static struct i2c_driver i2c_driver_videotext =
.id = I2C_DRIVERID_SAA5249, /* in i2c.h */
.attach_adapter = saa5246a_probe,
.detach_client = saa5246a_detach,
.command = saa5246a_command
};

static struct i2c_client client_template = {
Expand Down
7 changes: 0 additions & 7 deletions trunk/drivers/media/video/saa5249.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,12 +226,6 @@ static int saa5249_detach(struct i2c_client *client)
return 0;
}

static int saa5249_command(struct i2c_client *device,
unsigned int cmd, void *arg)
{
return -EINVAL;
}

/* new I2C driver support */

static struct i2c_driver i2c_driver_videotext =
Expand All @@ -242,7 +236,6 @@ static struct i2c_driver i2c_driver_videotext =
.id = I2C_DRIVERID_SAA5249, /* in i2c.h */
.attach_adapter = saa5249_probe,
.detach_client = saa5249_detach,
.command = saa5249_command
};

static struct i2c_client client_template = {
Expand Down
5 changes: 0 additions & 5 deletions trunk/drivers/video/matrox/matroxfb_maven.c
Original file line number Diff line number Diff line change
Expand Up @@ -1288,18 +1288,13 @@ static int maven_detach_client(struct i2c_client* client) {
return 0;
}

static int maven_command(struct i2c_client* client, unsigned int cmd, void* arg) {
return -ENOIOCTLCMD; /* or -EINVAL, depends on who will call this */
}

static struct i2c_driver maven_driver={
.driver = {
.name = "maven",
},
.id = I2C_DRIVERID_MGATVO,
.attach_adapter = maven_attach_adapter,
.detach_client = maven_detach_client,
.command = maven_command,
};

/* ************************** */
Expand Down

0 comments on commit d126334

Please sign in to comment.