Re: [PATCH 5/5] of/platform: Do not use of_get_property() to test property presence

From: Rob Herring (Arm)
Date: Tue Feb 25 2025 - 09:52:16 EST



On Mon, 24 Feb 2025 22:28:01 +0800, Zijun Hu wrote:
> From: Zijun Hu <quic_zijuhu@xxxxxxxxxxx>
>
> Use of_property_present() instead of of_get_property() to test property
> 'compatible' presence in of_platform_bus_create().
>
> Signed-off-by: Zijun Hu <quic_zijuhu@xxxxxxxxxxx>
> ---
> drivers/of/platform.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Applied, thanks!