On Tue, Aug 01, 2023 at 06:03:18PM +0100, Biju Das wrote: > Add i2c_device_get_match_data() callback to struct bus_type(). > > While at it, introduced i2c_get_match_data_helper() to avoid code > duplication with i2c_get_match_data(). ... > * Changed i2c_of_match_device_sysfs() as non-static function as it is > needed for i2c_device_get_match_data(). Btw, this can be split to a separate change. -- With Best Regards, Andy Shevchenko