Re: [PATCH v6 02/10] property: Add functions to iterate named child

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> > +			if (!fwnode_name_eq(child, name)) { } else  
> 
> Ditto.
> 
> Note, I believe this won't get v6.15-rc1, so there will be for_each_if()
> available and these will become

Unless this cycle goes long (i.e. an rc8) very unlikely I'll sneak
the series in now due to lack of time to soak in next.

> 
> #define fwnode_for_each_named_child_node(fwnode, child, name)	\
> 	fwnode_for_each_child_node(fwnode, child)		\
> 		for_each_if(fwnode_name_eq(child, name))
> 
> and so on...

Nice - first time I've seen this :)

Jonathan




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux