Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -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

+0 −1
Original line number Diff line number Diff line
@@ -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;