On Sat, Aug 13, 2022 at 12:05 AM Jakob Hauser <jahau@xxxxxxxxxxxxxx> wrote: > Add function pointers to the "chip_info" structure to ease the handling of > different YAS variants. > > In the function yas5xx_probe(), the function call for "measure_offsets" was > added as a conditional "if (ci->measure_offsets)". This is a preparatory step > for YAS537, as this variant doesn't need an offset measurement. > > Signed-off-by: Jakob Hauser <jahau@xxxxxxxxxxxxxx> > Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij