Re: [PATCH v4 02/10] property: Add device_get_child_node_count_named()
From: Matti Vaittinen
Date: Sun Mar 02 2025 - 07:21:37 EST
On 28/02/2025 18:59, Rob Herring wrote:
On Thu, Feb 27, 2025 at 9:06 AM Matti Vaittinen
<mazziesaccount@xxxxxxxxx> wrote:
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