RE: [PATCH v3 1/3] device property: Add device_irq_get_byname

From: Akhil R
Date: Fri Jan 21 2022 - 07:29:50 EST


> Thanks, my comments below.
>
> > Add device_irq_get_byname() to get an interrupt by name from both the
> > ACPI table and the Device Tree.
>
> This needs to be clarified (it's not and, but or), what about:
>
> Add device_irq_get_byname() to get an interrupt by name from either
> ACPI table or Device Tree whichever has it.
Does 'whichever has it' mean a bit different here? Would it be good like this -?

Add fwnode_irq_get_byname() to get an interrupt by name from either
ACPI table or Device Tree, whichever is used for enumeration.

Okay with the other comments.

Thanks,
Akhil