On Fri, Jul 1, 2022 at 2:18 PM Liang He <windhl@xxxxxxx> wrote: > In rcar_gen2_regulator_quirk(), for_each_matching_node_and_match() > will automatically increase and decrease the refcount. However, we > should call of_node_get() for the new refernece created in 'quirk->np'. reference > Besides, we also should call of_node_put() before the 'quirk' being > freed. > > Signed-off-by: Liang He <windhl@xxxxxxx> Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> i.e. will queue in renesas-devel for v5.20. 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