diff options
author | Jean Delvare <khali@linux-fr.org> | 2005-08-11 17:33:24 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-05 12:14:27 -0400 |
commit | 975185880d55676b1352047e82a0cb84173c6c28 (patch) | |
tree | 613fdd41f1f967d3795144aae304ce20d3e40b19 /drivers/media | |
parent | 4c9337da37c877e53a64696fc8524f642d446cba (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')
-rw-r--r-- | drivers/media/common/saa7146_i2c.c | 1 | ||||
-rw-r--r-- | drivers/media/dvb/b2c2/flexcop-i2c.c | 1 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-usb/cxusb.c | 1 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-usb/dibusb-common.c | 1 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-usb/digitv.c | 1 | ||||
-rw-r--r-- | drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c | 1 | ||||
-rw-r--r-- | drivers/media/video/bttv-i2c.c | 1 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134-i2c.c | 1 |
8 files changed, 0 insertions, 8 deletions
diff --git a/drivers/media/common/saa7146_i2c.c b/drivers/media/common/saa7146_i2c.c index 781f23f0cbcc..dceda86cd99d 100644 --- a/drivers/media/common/saa7146_i2c.c +++ b/drivers/media/common/saa7146_i2c.c | |||
@@ -387,7 +387,6 @@ static int saa7146_i2c_xfer(struct i2c_adapter* adapter, struct i2c_msg *msg, in | |||
387 | 387 | ||
388 | /* exported algorithm data */ | 388 | /* exported algorithm data */ |
389 | static struct i2c_algorithm saa7146_algo = { | 389 | static struct i2c_algorithm saa7146_algo = { |
390 | .name = "saa7146 i2c algorithm", | ||
391 | .id = I2C_ALGO_SAA7146, | 390 | .id = I2C_ALGO_SAA7146, |
392 | .master_xfer = saa7146_i2c_xfer, | 391 | .master_xfer = saa7146_i2c_xfer, |
393 | .functionality = saa7146_i2c_func, | 392 | .functionality = saa7146_i2c_func, |
diff --git a/drivers/media/dvb/b2c2/flexcop-i2c.c b/drivers/media/dvb/b2c2/flexcop-i2c.c index be4266d4ae91..75f2c94f3190 100644 --- a/drivers/media/dvb/b2c2/flexcop-i2c.c +++ b/drivers/media/dvb/b2c2/flexcop-i2c.c | |||
@@ -172,7 +172,6 @@ static u32 flexcop_i2c_func(struct i2c_adapter *adapter) | |||
172 | } | 172 | } |
173 | 173 | ||
174 | static struct i2c_algorithm flexcop_algo = { | 174 | static struct i2c_algorithm flexcop_algo = { |
175 | .name = "FlexCop I2C algorithm", | ||
176 | .id = I2C_ALGO_BIT, | 175 | .id = I2C_ALGO_BIT, |
177 | .master_xfer = flexcop_master_xfer, | 176 | .master_xfer = flexcop_master_xfer, |
178 | .functionality = flexcop_i2c_func, | 177 | .functionality = flexcop_i2c_func, |
diff --git a/drivers/media/dvb/dvb-usb/cxusb.c b/drivers/media/dvb/dvb-usb/cxusb.c index c3e1b661aae6..36fe602f85b6 100644 --- a/drivers/media/dvb/dvb-usb/cxusb.c +++ b/drivers/media/dvb/dvb-usb/cxusb.c | |||
@@ -141,7 +141,6 @@ static u32 cxusb_i2c_func(struct i2c_adapter *adapter) | |||
141 | } | 141 | } |
142 | 142 | ||
143 | static struct i2c_algorithm cxusb_i2c_algo = { | 143 | static struct i2c_algorithm cxusb_i2c_algo = { |
144 | .name = "Conexant USB I2C algorithm", | ||
145 | .id = I2C_ALGO_BIT, | 144 | .id = I2C_ALGO_BIT, |
146 | .master_xfer = cxusb_i2c_xfer, | 145 | .master_xfer = cxusb_i2c_xfer, |
147 | .functionality = cxusb_i2c_func, | 146 | .functionality = cxusb_i2c_func, |
diff --git a/drivers/media/dvb/dvb-usb/dibusb-common.c b/drivers/media/dvb/dvb-usb/dibusb-common.c index 9b9d6f8ee74e..c3a639520e8a 100644 --- a/drivers/media/dvb/dvb-usb/dibusb-common.c +++ b/drivers/media/dvb/dvb-usb/dibusb-common.c | |||
@@ -156,7 +156,6 @@ static u32 dibusb_i2c_func(struct i2c_adapter *adapter) | |||
156 | } | 156 | } |
157 | 157 | ||
158 | struct i2c_algorithm dibusb_i2c_algo = { | 158 | struct i2c_algorithm dibusb_i2c_algo = { |
159 | .name = "DiBcom USB I2C algorithm", | ||
160 | .id = I2C_ALGO_BIT, | 159 | .id = I2C_ALGO_BIT, |
161 | .master_xfer = dibusb_i2c_xfer, | 160 | .master_xfer = dibusb_i2c_xfer, |
162 | .functionality = dibusb_i2c_func, | 161 | .functionality = dibusb_i2c_func, |
diff --git a/drivers/media/dvb/dvb-usb/digitv.c b/drivers/media/dvb/dvb-usb/digitv.c index 9a676afc1d6e..6e4e1e9158e3 100644 --- a/drivers/media/dvb/dvb-usb/digitv.c +++ b/drivers/media/dvb/dvb-usb/digitv.c | |||
@@ -77,7 +77,6 @@ static u32 digitv_i2c_func(struct i2c_adapter *adapter) | |||
77 | } | 77 | } |
78 | 78 | ||
79 | static struct i2c_algorithm digitv_i2c_algo = { | 79 | static struct i2c_algorithm digitv_i2c_algo = { |
80 | .name = "Nebula DigiTV USB I2C algorithm", | ||
81 | .id = I2C_ALGO_BIT, | 80 | .id = I2C_ALGO_BIT, |
82 | .master_xfer = digitv_i2c_xfer, | 81 | .master_xfer = digitv_i2c_xfer, |
83 | .functionality = digitv_i2c_func, | 82 | .functionality = digitv_i2c_func, |
diff --git a/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c b/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c index aa43b5fcb8e7..c337ee546bac 100644 --- a/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c +++ b/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c | |||
@@ -1472,7 +1472,6 @@ static void frontend_init(struct ttusb* ttusb) | |||
1472 | 1472 | ||
1473 | 1473 | ||
1474 | static struct i2c_algorithm ttusb_dec_algo = { | 1474 | static struct i2c_algorithm ttusb_dec_algo = { |
1475 | .name = "ttusb dec i2c algorithm", | ||
1476 | .id = I2C_ALGO_BIT, | 1475 | .id = I2C_ALGO_BIT, |
1477 | .master_xfer = master_xfer, | 1476 | .master_xfer = master_xfer, |
1478 | .functionality = functionality, | 1477 | .functionality = functionality, |
diff --git a/drivers/media/video/bttv-i2c.c b/drivers/media/video/bttv-i2c.c index 234a85563769..dbc96fce7501 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 | |||
270 | } | 270 | } |
271 | 271 | ||
272 | static struct i2c_algorithm bttv_algo = { | 272 | static struct i2c_algorithm bttv_algo = { |
273 | .name = "bt878", | ||
274 | .id = I2C_ALGO_BIT | I2C_HW_B_BT848 /* FIXME */, | 273 | .id = I2C_ALGO_BIT | I2C_HW_B_BT848 /* FIXME */, |
275 | .master_xfer = bttv_i2c_xfer, | 274 | .master_xfer = bttv_i2c_xfer, |
276 | .algo_control = algo_control, | 275 | .algo_control = algo_control, |
diff --git a/drivers/media/video/saa7134/saa7134-i2c.c b/drivers/media/video/saa7134/saa7134-i2c.c index 1203b93a572c..1a53c7eb104a 100644 --- a/drivers/media/video/saa7134/saa7134-i2c.c +++ b/drivers/media/video/saa7134/saa7134-i2c.c | |||
@@ -370,7 +370,6 @@ static int attach_inform(struct i2c_client *client) | |||
370 | } | 370 | } |
371 | 371 | ||
372 | static struct i2c_algorithm saa7134_algo = { | 372 | static struct i2c_algorithm saa7134_algo = { |
373 | .name = "saa7134", | ||
374 | .id = I2C_ALGO_SAA7134, | 373 | .id = I2C_ALGO_SAA7134, |
375 | .master_xfer = saa7134_i2c_xfer, | 374 | .master_xfer = saa7134_i2c_xfer, |
376 | .algo_control = algo_control, | 375 | .algo_control = algo_control, |