Commit 3732c940 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman Committed by Greg Kroah-Hartman

[PATCH] I2C: just delete the id field, let's not delay it any longer

Becides, sparse keeps complaining when it sees this attribute within a structure...
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent e02de9bc
...@@ -144,7 +144,6 @@ extern struct bus_type i2c_bus_type; ...@@ -144,7 +144,6 @@ extern struct bus_type i2c_bus_type;
* function is mainly used for lookup & other admin. functions. * function is mainly used for lookup & other admin. functions.
*/ */
struct i2c_client { struct i2c_client {
__attribute__ ((deprecated)) int id;
unsigned int flags; /* div., see below */ unsigned int flags; /* div., see below */
unsigned int addr; /* chip address - NOTE: 7bit */ unsigned int addr; /* chip address - NOTE: 7bit */
/* addresses are stored in the */ /* addresses are stored in the */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment