Re: [RFC PATCH] software node: Skip duplicated software_node sysfs

From: Qian Cai
Date: Wed Nov 17 2021 - 11:18:39 EST


On Wed, Nov 17, 2021 at 03:45:34PM +0100, Rafael J. Wysocki wrote:
> > since we will no longer has a dev->fwnode pointer anymore. Do you
> > suggest to keep that pointer but convert the "secondary" to a linked
> > list instead?
>
> Yes, please.

Sounds good. I think that would simplify the changes of the existing
interfaces even though only to mantain one fwnode_head would be a bit
cleaner. Though, that cleanup could always be on top later if needed.