There is no user left of i2c_adapter.id, so we can get rid of it.
Finally! :)

Signed-off-by: Jean Delvare <[email protected]>
---
3 months earlier than planned, isn't it nice :)

 Documentation/feature-removal-schedule.txt |   10 ----------
 include/linux/i2c.h                        |    1 -
 2 files changed, 11 deletions(-)

--- linux-2.6.39-rc0.orig/include/linux/i2c.h   2011-03-17 16:57:49.000000000 
+0100
+++ linux-2.6.39-rc0/include/linux/i2c.h        2011-03-17 16:57:53.000000000 
+0100
@@ -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;
--- linux-2.6.39-rc0.orig/Documentation/feature-removal-schedule.txt    
2011-03-17 16:57:49.000000000 +0100
+++ linux-2.6.39-rc0/Documentation/feature-removal-schedule.txt 2011-03-17 
16:57:53.000000000 +0100
@@ -585,16 +585,6 @@ Who:    NeilBrown <[email protected]>
 
 ----------------------------
 
-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 <[email protected]>
-
-----------------------------
-
 What:  cancel_rearming_delayed_work[queue]()
 When:  2.6.39
 


-- 
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to