diff options
author | Jean Delvare <khali@linux-fr.org> | 2005-08-11 23:33:24 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-05 18:14:27 +0200 |
commit | 975185880d55676b1352047e82a0cb84173c6c28 (patch) | |
tree | 613fdd41f1f967d3795144aae304ce20d3e40b19 /drivers/i2c/busses/i2c-stub.c | |
parent | [PATCH] I2C: Centralize 24RF08 corruption prevention (diff) | |
download | linux-975185880d55676b1352047e82a0cb84173c6c28.tar.xz linux-975185880d55676b1352047e82a0cb84173c6c28.zip |
[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-stub.c')
-rw-r--r-- | drivers/i2c/busses/i2c-stub.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-stub.c b/drivers/i2c/busses/i2c-stub.c index 00d94e886955..d7203207754f 100644 --- a/drivers/i2c/busses/i2c-stub.c +++ b/drivers/i2c/busses/i2c-stub.c @@ -109,7 +109,6 @@ static u32 stub_func(struct i2c_adapter *adapter) } static struct i2c_algorithm smbus_algorithm = { - .name = "Non-I2C SMBus adapter", .id = I2C_ALGO_SMBUS, .functionality = stub_func, .smbus_xfer = stub_xfer, |