summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/exynos4412-odroidx.dts
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2017-06-02 21:13:45 +0300
committerKrzysztof Kozlowski <krzk@kernel.org>2017-06-07 21:51:24 +0300
commit6ff0b90d746146f8270207551c0edbfe80986846 (patch)
tree8344d591a6de2c4553c3a64bec827c1a9364c9ec /arch/arm/boot/dts/exynos4412-odroidx.dts
parent5343b1579247875ccfa88778e8db17e181c9f3fe (diff)
downloadlinux-6ff0b90d746146f8270207551c0edbfe80986846.tar.xz
ARM: dts: exynos: Use human-friendly symbols for interrupt flags in board sources
Replace hard-coded values of interrupt flags with respective macros from header to increase code readability. Suggested-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/exynos4412-odroidx.dts')
-rw-r--r--arch/arm/boot/dts/exynos4412-odroidx.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/exynos4412-odroidx.dts b/arch/arm/boot/dts/exynos4412-odroidx.dts
index 46b931eec228..97882267ef09 100644
--- a/arch/arm/boot/dts/exynos4412-odroidx.dts
+++ b/arch/arm/boot/dts/exynos4412-odroidx.dts
@@ -44,7 +44,7 @@
home_key {
interrupt-parent = <&gpx2>;
- interrupts = <2 0>;
+ interrupts = <2 IRQ_TYPE_NONE>;
gpios = <&gpx2 2 GPIO_ACTIVE_HIGH>;
linux,code = <KEY_HOME>;
label = "home key";