From: Krzysztof Kozlowski Date: Wed, 10 Aug 2022 08:05:14 +0000 (+0300) Subject: ARM: dts: qcom: msm8226: override nodes by label X-Git-Tag: v6.1-rc1~154^2~10^2~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c77ad7f3ba7ffa05f49516732886f5feed95793b;p=thirdparty%2Flinux.git ARM: dts: qcom: msm8226: override nodes by label Using node paths to extend or override a device tree node is error prone. If there was a typo error, a new node will be created instead of extending the existing node. This will lead to run-time errors that could be hard to detect. A mistyped label on the other hand, will cause a dtc compile error (during build time). This also reduces the indentation making the code easier to read. The pre/post DTBS are the same. Signed-off-by: Krzysztof Kozlowski Signed-off-by: Bjorn Andersson Link: https://lore.kernel.org/r/20220810080516.166866-2-krzysztof.kozlowski@linaro.org --- diff --git a/arch/arm/boot/dts/qcom-msm8226-samsung-s3ve3g.dts b/arch/arm/boot/dts/qcom-msm8226-samsung-s3ve3g.dts index d159188c8b95d..290e1df631f02 100644 --- a/arch/arm/boot/dts/qcom-msm8226-samsung-s3ve3g.dts +++ b/arch/arm/boot/dts/qcom-msm8226-samsung-s3ve3g.dts @@ -18,8 +18,6 @@ }; }; -&soc { - serial@f991f000 { - status = "ok"; - }; +&blsp1_uart3 { + status = "ok"; };