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/dvb/dvb-usb | |
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/dvb/dvb-usb')
-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 |
3 files changed, 0 insertions, 3 deletions
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, |