On Wed, Aug 02, 2023 at 09:34:18AM +0000, Biju Das wrote: ... > > Can we make i2c_of_match_device_sysfs() take a const pointer to a > > client? Casting away constness is something that we should avoid. > > I agree, we are not supposed to modify client pointer inside > i2c_of_match_device_sysfs(), so const makes sense here. > Wolfram, I guess you are ok with it. Don't forget to do that in a separate patch as well! -- With Best Regards, Andy Shevchenko