aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/media
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2005-08-11 17:33:24 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-05 12:14:27 -0400
commit975185880d55676b1352047e82a0cb84173c6c28 (patch)
tree613fdd41f1f967d3795144aae304ce20d3e40b19 /drivers/usb/media
parent4c9337da37c877e53a64696fc8524f642d446cba (diff)
[PATCH] I2C: Kill i2c_algorithm.name (1/7)
The name member of the i2c_algorithm is never used, although all drivers conscientiously fill it. We can drop it completely, this structure doesn't need to have a name. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/media')
-rw-r--r--drivers/usb/media/w9968cf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/media/w9968cf.c b/drivers/usb/media/w9968cf.c
index ca9f3a30634f..ad1d6777e226 100644
--- a/drivers/usb/media/w9968cf.c
+++ b/drivers/usb/media/w9968cf.c
@@ -1573,7 +1573,6 @@ static int w9968cf_i2c_init(struct w9968cf_device* cam)
1573 int err = 0; 1573 int err = 0;
1574 1574
1575 static struct i2c_algorithm algo = { 1575 static struct i2c_algorithm algo = {
1576 .name = "W996[87]CF algorithm",
1577 .id = I2C_ALGO_SMBUS, 1576 .id = I2C_ALGO_SMBUS,
1578 .smbus_xfer = w9968cf_i2c_smbus_xfer, 1577 .smbus_xfer = w9968cf_i2c_smbus_xfer,
1579 .algo_control = w9968cf_i2c_control, 1578 .algo_control = w9968cf_i2c_control,