summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2011-03-20 14:50:53 +0100
committerJean Delvare <khali@endymion.delvare>2011-03-20 14:50:53 +0100
commitc185a9420bd1c645252249018e6887a968d3e1de (patch)
tree1777ff0e774382d4d3c5aadb29431026d7275b9a
parenti2c: Deprecate i2c_driver.attach_adapter and .detach_adapter (diff)
downloadlinux-c185a9420bd1c645252249018e6887a968d3e1de.tar.xz
linux-c185a9420bd1c645252249018e6887a968d3e1de.zip
i2c: Drop i2c_adapter.id
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>
-rw-r--r--Documentation/feature-removal-schedule.txt10
-rw-r--r--include/linux/i2c.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
index 7ce623bb9637..895330940f5d 100644
--- a/Documentation/feature-removal-schedule.txt
+++ b/Documentation/feature-removal-schedule.txt
@@ -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
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index cd2f75b742ec..f1e3ff5880a9 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -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;