i2c: Drop redundant i2c_driver.list
i2c_driver.list is superfluous, this list duplicates the one maintained by the driver core. Drop it. Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: David Brownell <dbrownell@users.sourceforge.net>
This commit is contained in:
committed by
Jean Delvare
parent
87c6c22945
commit
026526f5af
@ -140,7 +140,6 @@ struct i2c_driver {
|
||||
int (*command)(struct i2c_client *client,unsigned int cmd, void *arg);
|
||||
|
||||
struct device_driver driver;
|
||||
struct list_head list;
|
||||
};
|
||||
#define to_i2c_driver(d) container_of(d, struct i2c_driver, driver)
|
||||
|
||||
|
Reference in New Issue
Block a user