On Thu, Aug 24, 2023 at 05:23:44PM +0100, Biju Das wrote: > Make similar OF and ID table to extend support for ID match > using i2c_match_data(). Currently it works only for OF match > tables as the field is wrong for ID match. ... > - chip->flags = (u32)(uintptr_t)device_get_match_data(&client->dev); > + chip->flags = (u32)(uintptr_t)i2c_get_match_data(client); Why is (u32)casting still needed? Why it was there beforehand?.. Do we have a compiler warning? -- With Best Regards, Andy Shevchenko