[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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
4c9337da37
commit
975185880d
@@ -192,7 +192,6 @@ static inline char *i2c_clientname(struct i2c_client *c)
|
||||
* to name two of the most common.
|
||||
*/
|
||||
struct i2c_algorithm {
|
||||
char name[32]; /* textual description */
|
||||
unsigned int id;
|
||||
|
||||
/* If an adapter algorithm can't do I2C-level access, set master_xfer
|
||||
|
Reference in New Issue
Block a user