extern struct i2c_client *i2c_verify_client(struct device *dev); extern struct i2c_adapter *i2c_verify_adapter(struct device *dev); +extern const struct i2c_device_id *i2c_match_id(const struct i2c_device_id *id
> are commonly supplied, matching on an i2c_device_id table is used less > frequently. Instead of _always_ calling i2c_match_id() from within the > framework, we only need to do so from drivers which have no other way of > matching. This patch makes i2c_match_id() available to the...
from i2c_match_id() using non-devicetree matches. This is probably why most devices using device tree for I2C clients currently will pass no .of_match_table *at all* but instead just use .id_table from struct i2c_driver to match the device. As you realize that means that the whole id...