aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/bttv-i2c.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2005-08-11 23:33:24 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-05 09:14:27 -0700
commit975185880d55676b1352047e82a0cb84173c6c28 (patch)
tree613fdd41f1f967d3795144aae304ce20d3e40b19 /drivers/media/video/bttv-i2c.c
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/media/video/bttv-i2c.c')
-rw-r--r--drivers/media/video/bttv-i2c.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/bttv-i2c.c b/drivers/media/video/bttv-i2c.c
index 234a8556376..dbc96fce750 100644
--- a/drivers/media/video/bttv-i2c.c
+++ b/drivers/media/video/bttv-i2c.c
@@ -270,7 +270,6 @@ static int bttv_i2c_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg *msgs, int
}
static struct i2c_algorithm bttv_algo = {
- .name = "bt878",
.id = I2C_ALGO_BIT | I2C_HW_B_BT848 /* FIXME */,
.master_xfer = bttv_i2c_xfer,
.algo_control = algo_control,