ARM: dts: exynos: Use common macros for pinctrl configuration
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Sun, 4 Sep 2016 11:04:06 +0000 (13:04 +0200)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 16 Sep 2016 11:31:37 +0000 (13:31 +0200)
commit90c6e35383dd02ef68a71f8373bdc9fbd0684a26
treefbb865ca08d2b0b3c71724a8c266bb37a01fdcef
parentc0fee590160637e1306dd4bc1018e89ff99ef00d
ARM: dts: exynos: Use common macros for pinctrl configuration

Replace duplicated macros in each DTSI file with a common macro coming
from header.  Include the header in each pinctrl DTSI so further changes
could use it.

Although PIN_FUNC_SPC_2 does not bring much information about the
function itself, it still is more descriptive then hard-coded
number <2>.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/exynos3250-pinctrl.dtsi
arch/arm/boot/dts/exynos4210-pinctrl.dtsi
arch/arm/boot/dts/exynos4415-pinctrl.dtsi
arch/arm/boot/dts/exynos4x12-pinctrl.dtsi
arch/arm/boot/dts/exynos5250-pinctrl.dtsi
arch/arm/boot/dts/exynos5260-pinctrl.dtsi
arch/arm/boot/dts/exynos5410-pinctrl.dtsi
arch/arm/boot/dts/exynos5420-pinctrl.dtsi