[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4f3020b9-b693-c8cc-ec3e-8df96da45f33@linux.microsoft.com>
Date: Thu, 4 Jun 2020 16:28:43 -0700
From: Jordan Hand <jorhand@...ux.microsoft.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Heikki Krogerus <heikki.krogerus@...ux.intel.com>,
"Rafael J . Wysocki" <rafael@...nel.org>,
linux-kernel@...r.kernel.org, linux-next@...r.kernel.org
Subject: Re: [PATCH] software node: recursively unregister child swnodes
On 6/4/20 1:57 PM, Jordan Hand wrote:
> On 6/4/20 1:15 PM, Greg Kroah-Hartman wrote:
>> On Thu, Jun 04, 2020 at 12:36:23PM -0700, jorhand@...ux.microsoft.com
>
> That said, I suppose just ordering the nodes so that children come
> before parents would also be fine. My thinking was just that accepting
> any node ordering is simpler.
>
Oh, actually I just tried that out and software_node_register_nodes
doesn't allow this (parents must be added before children).
So I still think software_node_register_nodes and
software_node_unregister_nodes are made more useful if children are
removed recursively. I'll make some changes for v2 to make the change
less far-reaching + better documentation.
Thanks,
Jordan
Powered by blists - more mailing lists