Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jean Delvare and committed by
Jean Delvare
c185a942 fe6fc258

-11
-10
Documentation/feature-removal-schedule.txt
··· 585 585 586 586 ---------------------------- 587 587 588 - What: i2c_adapter.id 589 - When: June 2011 590 - Why: This field is deprecated. I2C device drivers shouldn't change their 591 - behavior based on the underlying I2C adapter. Instead, the I2C 592 - adapter driver should instantiate the I2C devices and provide the 593 - needed platform-specific information. 594 - Who: Jean Delvare <khali@linux-fr.org> 595 - 596 - ---------------------------- 597 - 598 588 What: cancel_rearming_delayed_work[queue]() 599 589 When: 2.6.39 600 590
-1
include/linux/i2c.h
··· 353 353 */ 354 354 struct i2c_adapter { 355 355 struct module *owner; 356 - unsigned int id __deprecated; 357 356 unsigned int class; /* classes to allow probing for */ 358 357 const struct i2c_algorithm *algo; /* the algorithm to access the bus */ 359 358 void *algo_data;