Hi Nikita, On Wed, 5 Feb 2025 at 17:15, Nikita Yushchenko <nikita.yoush@xxxxxxxxxxxxxxxxxx> wrote: > > Simplify rswitch_get_port_node() by using the > > for_each_available_child_of_node() helper instead of manually ignoring > > unavailable child nodes, and leaking a reference. > > FYI, I have a patch in my queue that replaces this code with traversing child nodes (via > for_each_available_child_of_node()) and only creating devices for ports actually defined in the device tree. OK, thanks for letting me know! 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