mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
87c6c22945
commit
026526f5af
2 changed files with 35 additions and 24 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue