Re: [PATCH] software node: fix node group deregistration kernel-doc

From: Johan Hovold

Date: Fri Nov 20 2026 - 08:39:12 EST


On Fri, Nov 20, 2026 at 02:18:24PM +0100, Rafael J. Wysocki wrote:
> On Mon, Nov 16, 2026 at 11:38 AM Johan Hovold <johan@xxxxxxxxxx> wrote:
> >
> > Child software nodes hold a reference to their parent via kobj->parent
> > so there was never any need to deregister them in any particular order.
> >
> > Drop the misleading kernel-doc comments which suggest that deregistering
> > a parent node before a child could cause trouble.
> >
> > Note that parent nodes still need to be registered before their children
> > or registration will fail.
> >
> > Fixes: fc002f0f23e2 ("media: software_node: unregister software_nodes in reverse order")
> > Fixes: 0b8bf06f6719 ("device property: Sync descriptions of swnode array and group APIs")
> > Cc: Daniel Scally <djrscally@xxxxxxxxx>
> > Cc: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> > Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
>
> LGTM
>
> Acked-by: Rafael J. Wysocki (Intel) <rafael@xxxxxxxxxx>

Applied for -next.

Johan