i2c: Drop i2c_adapter.id
authorJean Delvare <khali@linux-fr.org>
Sun, 20 Mar 2011 13:50:53 +0000 (14:50 +0100)
committerJean Delvare <khali@endymion.delvare>
Sun, 20 Mar 2011 13:50:53 +0000 (14:50 +0100)
There is no user left of i2c_adapter.id, so we can get rid of it.
Finally! :)

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Documentation/feature-removal-schedule.txt
include/linux/i2c.h

index 7ce623bb9637421d14c1ecc9ce4e6516fc0de10a..895330940f5dfb1560f78dce424dca686d312bf3 100644 (file)
@@ -585,16 +585,6 @@ Who:    NeilBrown <neilb@suse.de>
 
 ----------------------------
 
-What:  i2c_adapter.id
-When:  June 2011
-Why:   This field is deprecated. I2C device drivers shouldn't change their
-       behavior based on the underlying I2C adapter. Instead, the I2C
-       adapter driver should instantiate the I2C devices and provide the
-       needed platform-specific information.
-Who:   Jean Delvare <khali@linux-fr.org>
-
-----------------------------
-
 What:  cancel_rearming_delayed_work[queue]()
 When:  2.6.39
 
index cd2f75b742ec7e49eab29e21c5b85dc9c1e523af..f1e3ff5880a9f1d6d505f2e1102aeceef10fdb47 100644 (file)
@@ -353,7 +353,6 @@ struct i2c_algorithm {
  */
 struct i2c_adapter {
        struct module *owner;
-       unsigned int id __deprecated;
        unsigned int class;               /* classes to allow probing for */
        const struct i2c_algorithm *algo; /* the algorithm to access the bus */
        void *algo_data;