]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: dts: Extend exynos5250-pinctrl nodes using labels instead of paths
authorJavier Martinez Canillas <javier@osg.samsung.com>
Wed, 8 Jul 2015 05:36:28 +0000 (22:36 -0700)
committerKukjin Kim <kgene@kernel.org>
Tue, 21 Jul 2015 03:59:17 +0000 (12:59 +0900)
commiteb8b8b03ca8ac0f06a2c16bf27601a1ac2aa2d8b
tree0c2e8465c25e1c3fb695f767eb062bdab1915a6f
parentdc5617973c9c41ca1ab439dd764eedf561f6fd49
ARM: dts: Extend exynos5250-pinctrl nodes using labels instead of paths

A previously defined Device Tree node, can be extended either by defining
a node using the same full path or by creating a label for the node and
referencing to it.

Using full paths is more error prone since if there was a typo error, a
new node will be created instead of extending the node as it was desired.
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 which
makes it easier to detect the mistake since happens at build-time instead.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
arch/arm/boot/dts/exynos5250-pinctrl.dtsi