[PATCH] i2c: Drop i2c_adapter.id

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Jean Delvare <khali@xxxxxxxxxxxx>
---
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 <neilb@xxxxxxx>
 
 ----------------------------
 
-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@xxxxxxxxxxxx>
-
-----------------------------
-
 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux