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/i2c/busses/i2c-nforce2.c | |
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/i2c/busses/i2c-nforce2.c')
-rw-r--r-- | drivers/i2c/busses/i2c-nforce2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-nforce2.c b/drivers/i2c/busses/i2c-nforce2.c index 1df601bb7f4f..44b6dfdd3832 100644 --- a/drivers/i2c/busses/i2c-nforce2.c +++ b/drivers/i2c/busses/i2c-nforce2.c | |||
@@ -110,7 +110,6 @@ static u32 nforce2_func(struct i2c_adapter *adapter); | |||
110 | 110 | ||
111 | 111 | ||
112 | static struct i2c_algorithm smbus_algorithm = { | 112 | static struct i2c_algorithm smbus_algorithm = { |
113 | .name = "Non-I2C SMBus adapter", | ||
114 | .id = I2C_ALGO_SMBUS, | 113 | .id = I2C_ALGO_SMBUS, |
115 | .smbus_xfer = nforce2_access, | 114 | .smbus_xfer = nforce2_access, |
116 | .functionality = nforce2_func, | 115 | .functionality = nforce2_func, |