ARM: dts: exynos: override GPIO keys node by label in Exynos4412 Odroid family
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 27 Oct 2020 17:09:38 +0000 (18:09 +0100)
committerKrzysztof Kozlowski <krzk@kernel.org>
Wed, 28 Oct 2020 21:46:25 +0000 (22:46 +0100)
commit43552e6d5a6109df05ea038f512a20b45ca5010c
treed8a3ebe830818a6846f35f61a32a026485d1e64a
parentd918633c8acbd42afb694a6d859f449f4bf9d3bf
ARM: dts: exynos: override GPIO keys node by label in Exynos4412 Odroid family

Using full 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).

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20201027170947.132725-4-krzk@kernel.org
arch/arm/boot/dts/exynos4412-odroid-common.dtsi
arch/arm/boot/dts/exynos4412-odroidx.dts