ARM: dts: qcom: msm8960: override nodes by label
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 10 Aug 2022 08:05:13 +0000 (11:05 +0300)
committerBjorn Andersson <andersson@kernel.org>
Mon, 29 Aug 2022 21:46:45 +0000 (16:46 -0500)
commitcb9d7639491466d7296d30ec43045391c3a34651
tree7e0b1c4f27c0d0bafa8cb7ffd25fb1c8b89ded4e
parent12e621362be39350167ede99542256e768ecbfd6
ARM: dts: qcom: msm8960: 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 <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220810080516.166866-1-krzysztof.kozlowski@linaro.org
arch/arm/boot/dts/qcom-msm8960-cdp.dts
arch/arm/boot/dts/qcom-msm8960.dtsi