Re: [PATCH 2/5] of: Introduce and apply private is_pseudo_property()

From: Rob Herring (Arm)
Date: Tue Feb 25 2025 - 09:51:56 EST



On Mon, 24 Feb 2025 22:27:58 +0800, Zijun Hu wrote:
> From: Zijun Hu <quic_zijuhu@xxxxxxxxxxx>
>
> There are several places which check if a property name is one of
> 'name'|'phandle'|'linux,phandle'.
>
> Introduce and apply private is_pseudo_property() for the check.
>
> Signed-off-by: Zijun Hu <quic_zijuhu@xxxxxxxxxxx>
> ---
> drivers/of/base.c | 4 +---
> drivers/of/of_private.h | 7 +++++++
> drivers/of/overlay.c | 4 +---
> drivers/of/resolver.c | 4 +---
> 4 files changed, 10 insertions(+), 9 deletions(-)
>

Applied, thanks!