On Thu, Aug 03, 2023 at 11:31:02AM +0100, Biju Das wrote: > Extend i2c_device_get_match_data() to i2c sysfs interface for > retrieving match data from the match table. ... > + const void *data; > - return i2c_get_match_data_helper(client); > + data = i2c_get_match_data_helper(client); > + if (data) > + return data; > + return NULL; > } These may be incorporated to the previous patch that introduces the helper. This patch after that will look much better. -- With Best Regards, Andy Shevchenko