On Thu, Aug 03, 2023 at 11:31:01AM +0100, Biju Das wrote: > Currently i2c_of_match_device_sysfs() is used by i2c_of_match_device(). > Convert this to non-static function for finding match data for the I2C > sysfs interface using i2c_device_get_match_data() for code reuse. > > While at it, fix the below issues: > 1) Replace 'of_device_id*'->'of_device_id *' in function definition. > 2) Fix the alignment in the function definition. > 3) Change the struct i2c_client parameter as const to avoid overriding > the client pointer. All makes sense Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> -- With Best Regards, Andy Shevchenko