Thread (53 messages) 53 messages, 7 authors, 2025-03-04

Re: [PATCH v4 02/10] property: Add device_get_child_node_count_named()

From: Matti Vaittinen <mazziesaccount@gmail.com>
Date: 2025-03-02 12:21:25
Also in: linux-acpi, linux-devicetree, linux-iio, linux-renesas-soc, linux-sunxi, lkml

On 28/02/2025 18:59, Rob Herring wrote:
On Thu, Feb 27, 2025 at 9:06 AM Matti Vaittinen
[off-list ref] wrote:
quoted
quoted
Sigh. This is not that hard.

- unsigned int num_grps = gfar_of_group_count(np);
+ unsigned int num_grps =
device_get_child_node_count_named(&ofdev->dev, "queue-groups");

And remove gfar_of_group_count() of course.
Thanks Rob. That's what I (already twice) wrote I'll do:

 >>>> alter the gianfar code by dropping the gfar_of_group_count(),

and

 >>  I prefer killing whole
 >> gfar_of_group_count().

I just wanted to understand what Andy suggested.

Yours,
	-- Matti
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help