On Tue, 29 Apr 2025 at 10:20, Thierry Bultel <thierry.bultel.yh@xxxxxxxxxxxxxx> wrote: > In a subsequent patch, the registration callback will need more parameters > from cpg_mssr_priv (like another base address with clock controllers > with double register block, and also, notifiers and rmw_lock). > Instead of adding more parameters, move the needed parameters to a public > sub-struct. > Instead moving clks to this structure, which would have implied to add > an allocation (and cleanup) for it, keep the way the allocation is done > and just have a copy of the pointer in the public structure. > > Signed-off-by: Thierry Bultel <thierry.bultel.yh@xxxxxxxxxxxxxx> > --- > Changes v7->v8: > - moved struct cpg_mssr_pub pub to the beginning of struct cpg_mssr_priv > - make *core & *info fit on the same line > - order of doc tags 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