Re: [PATCH] software node: fix wrong node passed to find nargs_prop

From: Greg Kroah-Hartman
Date: Tue Dec 21 2021 - 04:34:18 EST


On Mon, Dec 20, 2021 at 11:37:07PM +0000, Daniel Scally wrote:
> Thanks Andy
>
> On 20/12/2021 22:13, Andy Shevchenko wrote:
> > + Sakari, Dan
> >
> > On Monday, December 20, 2021, Clément Léger <clement.leger@xxxxxxxxxxx
> > <mailto:clement.leger@xxxxxxxxxxx>> wrote:
> >
> > nargs_prop refers to a property located in the reference that is found
> > within the nargs property.
>
> I think this is right (it's not used in the ACPI version, and the OF
> version is quite convoluted so a bit hard to follow)...but also I note
> that none of the users of fwnode_property_get_reference_args() pass
> anything to nargs_prop anyway...do we even need this?

Looks like it is unused, please just remove it.

thanks,

greg k-h