On Fri, Dec 6, 2024 at 4:31 PM Niklas Söderlund <niklas.soderlund+renesas@xxxxxxxxxxxx> wrote: > The hardware calibration is fused on some, but not all, Gen3 and Gen4 > boards. The calibrations values are the same on both generations but > located at different register offsets. > > Instead of having duplicated logic to read the and store the values > create structure to hold the register parameters and have a common > function do the reading. > > Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@xxxxxxxxxxxx> > --- > * Changes since v2 > - Use a structure instead of two helper functions to store the > parameters. Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds