On 23-08-28, Jonathan Cameron wrote: > On Sat, 12 Aug 2023 17:11:54 +0100 > Biju Das <biju.das.jz@xxxxxxxxxxxxxx> wrote: > > > Convert enum->pointer for data in the match tables, so that > > device_get_match_data() can do match against OF/ACPI/I2C tables, once i2c > > bus type match support added to it. > > > > Add struct tmp11x_info and replace enum->struct *tmp11x_info for data in > > the match table. Drop tmp117_identify() and simplify tmp117_probe() by > > replacing device_get_match_data() and id lookup for retrieving data by > > i2c_get_match_data(). > > > > Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx> > > +CC Marco who has been active on this driver recently. > > I'll apply it in the meantime, but still very much open to review comments. LGTM, thanks for the work on i2c_get_match_data(). Reviewed-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx>