Re: [PATCH v1 1/5] of: Add of_property_read_u16_index

From: Rob Herring (Arm)
Date: Tue Feb 11 2025 - 17:08:46 EST



On Thu, 06 Feb 2025 17:31:48 +0100, Francesco Dolcini wrote:
> From: Ernest Van Hoecke <ernest.vanhoecke@xxxxxxxxxxx>
>
> There is an of_property_read_u32_index and of_property_read_u64_index.
> This patch adds a similar helper for u16.
>
> Signed-off-by: Ernest Van Hoecke <ernest.vanhoecke@xxxxxxxxxxx>
> Signed-off-by: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>
> ---
> drivers/of/property.c | 33 +++++++++++++++++++++++++++++++++
> include/linux/of.h | 9 +++++++++
> 2 files changed, 42 insertions(+)
>

Reviewed-by: Rob Herring (Arm) <robh@xxxxxxxxxx>