linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] i2c: Drop i2c_adapter.id
@ 2011-03-18  9:22 Jean Delvare
  0 siblings, 0 replies; only message in thread
From: Jean Delvare @ 2011-03-18  9:22 UTC (permalink / raw)
  To: Linux I2C

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

Signed-off-by: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
---
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-l3A5Bk7waGM@public.gmane.org>
 
 ----------------------------
 
-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-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
-
-----------------------------
-
 What:	cancel_rearming_delayed_work[queue]()
 When:	2.6.39
 


-- 
Jean Delvare

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-18  9:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-18  9:22 [PATCH] i2c: Drop i2c_adapter.id Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).