Commit c185a942 authored by Jean Delvare's avatar Jean Delvare Committed by Jean Delvare

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: default avatarJean Delvare <khali@linux-fr.org>
parent fe6fc258
...@@ -585,16 +585,6 @@ Who: NeilBrown <neilb@suse.de> ...@@ -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]() What: cancel_rearming_delayed_work[queue]()
When: 2.6.39 When: 2.6.39
......
...@@ -353,7 +353,6 @@ struct i2c_algorithm { ...@@ -353,7 +353,6 @@ struct i2c_algorithm {
*/ */
struct i2c_adapter { struct i2c_adapter {
struct module *owner; struct module *owner;
unsigned int id __deprecated;
unsigned int class; /* classes to allow probing for */ unsigned int class; /* classes to allow probing for */
const struct i2c_algorithm *algo; /* the algorithm to access the bus */ const struct i2c_algorithm *algo; /* the algorithm to access the bus */
void *algo_data; void *algo_data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment