aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c.h
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 /include/linux/i2c.h
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 'include/linux/i2c.h')
-rw-r--r--include/linux/i2c.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 3ad3969b6f0d..f04b1fc6a0fa 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -192,7 +192,6 @@ static inline char *i2c_clientname(struct i2c_client *c)
192 * to name two of the most common. 192 * to name two of the most common.
193 */ 193 */
194struct i2c_algorithm { 194struct i2c_algorithm {
195 char name[32]; /* textual description */
196 unsigned int id; 195 unsigned int id;
197 196
198 /* If an adapter algorithm can't do I2C-level access, set master_xfer 197 /* If an adapter algorithm can't do I2C-level access, set master_xfer