Skip to contentSkip to conversation

i2c: Drop i2c_adapter.id

PATCH New Jean Delvare 1 participant 1 message Mar 18, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: Drop i2c_adapter.id

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

---
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(-)
include/linux/i2c.h +0 -1
@@ -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;
Documentation/feature-removal-schedule.txt +0 -10
@@ -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
 
Signature · 1 line
Jean Delvare