Commit 161e7e46 authored by Zijun Hu's avatar Zijun Hu Committed by Rob Herring (Arm)
Browse files

of/platform: Do not use of_get_property() to test property presence



Use of_property_present() instead of of_get_property() to test property
'compatible' presence in of_platform_bus_create().

Signed-off-by: default avatarZijun Hu <quic_zijuhu@quicinc.com>
Link: https://lore.kernel.org/r/20250224-of_bugfix-v1-5-03640ae8c3a6@quicinc.com


Signed-off-by: default avatarRob Herring (Arm) <robh@kernel.org>
parent b4183831
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment