summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/exynos3250-pinctrl.dtsi
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2016-09-17 00:41:57 +0300
committerKrzysztof Kozlowski <krzk@kernel.org>2016-11-03 23:44:55 +0300
commit9645ab2cbc1a619a3456a28041a207b37cb5100d (patch)
tree73db521d107ce91dfa42c4415edd79b6cb6e65c6 /arch/arm/boot/dts/exynos3250-pinctrl.dtsi
parentc473c9a180446385c3e70e79deb1fb4d559fc5da (diff)
downloadlinux-9645ab2cbc1a619a3456a28041a207b37cb5100d.tar.xz
ARM: dts: exynos: Use human-friendly symbols for interrupt properties in exynos3250
Replace hard-coded values of type of GIC interrupt and its flags with respective macros from header to increase code readability. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/exynos3250-pinctrl.dtsi')
-rw-r--r--arch/arm/boot/dts/exynos3250-pinctrl.dtsi32
1 files changed, 16 insertions, 16 deletions
diff --git a/arch/arm/boot/dts/exynos3250-pinctrl.dtsi b/arch/arm/boot/dts/exynos3250-pinctrl.dtsi
index 450127d46acd..a149f148e659 100644
--- a/arch/arm/boot/dts/exynos3250-pinctrl.dtsi
+++ b/arch/arm/boot/dts/exynos3250-pinctrl.dtsi
@@ -362,14 +362,14 @@
interrupt-controller;
interrupt-parent = <&gic>;
- interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>,
- <0 33 IRQ_TYPE_LEVEL_HIGH>,
- <0 34 IRQ_TYPE_LEVEL_HIGH>,
- <0 35 IRQ_TYPE_LEVEL_HIGH>,
- <0 36 IRQ_TYPE_LEVEL_HIGH>,
- <0 37 IRQ_TYPE_LEVEL_HIGH>,
- <0 38 IRQ_TYPE_LEVEL_HIGH>,
- <0 39 IRQ_TYPE_LEVEL_HIGH>;
+ interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
+ <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