Re: [PATCH v2 4/8] swnode: ignore primary nodes in device_remove_software_node()
From: Johan Hovold
Date: Mon Nov 16 2026 - 09:05:25 EST
On Fri, Nov 13, 2026 at 06:29:41PM +0100, Rafael J. Wysocki wrote:
> On Tue, Nov 10, 2026 at 9:52 AM Johan Hovold <johan@xxxxxxxxxx> wrote:
> > -static inline bool fwnode_is_primary(struct fwnode_handle *fwnode)
> > +bool fwnode_is_primary(struct fwnode_handle *fwnode)
> > {
> > return fwnode && !IS_ERR(fwnode->secondary);
> > }
> > +EXPORT_SYMBOL_GPL(fwnode_is_primary);
>
> Not used in modules as Andy said, so need not be exported AFAICS.
Yes, I'll drop this and move the declaration to base.h as you suggested.
Johan