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

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

 



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




[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