diff options
author | Jean Delvare <khali@linux-fr.org> | 2008-01-27 12:14:49 -0500 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2008-01-27 12:14:49 -0500 |
commit | 026526f5afcd421dce110f53e4c4e2b9e78753c2 (patch) | |
tree | 1dbdb54db8382dc1c1cb63b06960158f884fd823 /include/linux | |
parent | 87c6c22945e5d68eb96dd1e5cb26185253cd5b9d (diff) |
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>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/i2c.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h index 5fa7e180501d..0fc59efd80e4 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h | |||
@@ -140,7 +140,6 @@ struct i2c_driver { | |||
140 | int (*command)(struct i2c_client *client,unsigned int cmd, void *arg); | 140 | int (*command)(struct i2c_client *client,unsigned int cmd, void *arg); |
141 | 141 | ||
142 | struct device_driver driver; | 142 | struct device_driver driver; |
143 | struct list_head list; | ||
144 | }; | 143 | }; |
145 | #define to_i2c_driver(d) container_of(d, struct i2c_driver, driver) | 144 | #define to_i2c_driver(d) container_of(d, struct i2c_driver, driver) |
146 | 145 | ||