Re: [PATCH v1 1/1] device property: Allow secondary lookup in fwnode_get_next_child_node()
From: Andy Shevchenko
Date: Wed Feb 11 2026 - 03:34:06 EST
On Wed, Feb 11, 2026 at 10:27:28AM +0200, Sakari Ailus wrote:
> On Wed, Feb 11, 2026 at 10:14:59AM +0200, Andy Shevchenko wrote:
> > On Wed, Feb 11, 2026 at 12:02:57AM +0200, Sakari Ailus wrote:
> > > On Tue, Feb 10, 2026 at 02:58:22PM +0100, Andy Shevchenko wrote:
...
> > > As the function becomes trivial, I'd move it to property.h.
> >
> > Yes, but the same applies to many functions in the property.c. I don't want to
> > treat this specially:
> > - exceptionally for this function (what about the rest?)
> > - for the matters of backporting
>
> There are other similar functions in property.h already. Moving the other
> trivial ones there, too, wouldn't hurt.
There is actually a potential issue that I would like to avoid. Id est
the device.h is a mess and first of all I want to split it to a few other
headers (one of which for the fwnode stuff), and only after that reshuffle
this, because blindly moving everything to the header is not a good
strategy in long term.
...
> > TL;DR: I would like to move this patch forward as is. After that I will
> > consider cleaning up as suggested taking into account other places.
>
> Sounds good to me.
>
> Reviewed-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>
Thanks!
--
With Best Regards,
Andy Shevchenko