]> git.baikalelectronics.ru Git - kernel.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)
commit74f7db9bee06963bf920040de6a13a1aa2339916
tree0c2e8465c25e1c3fb695f767eb062bdab1915a6f
parent63e9323fcc8cecc1ca6a6a6776084b86ceb87637
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