ARM: dts: s3c64xx: Use common macros for pinctrl configuration
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Sun, 4 Sep 2016 11:04:17 +0000 (13:04 +0200)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 16 Sep 2016 11:32:16 +0000 (13:32 +0200)
commit68175d5dd7c5476da66922c2513b29ea6c669741
treee65e7592a6c34d8e59a685a6a9753e84659bd75b
parent5e49773f8703a0b376cdcfd6b26fadf18485f26b
ARM: dts: s3c64xx: 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/s3c6410-mini6410.dts
arch/arm/boot/dts/s3c64xx-pinctrl.dtsi