diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2017-06-02 21:13:45 +0300 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2017-06-07 21:51:24 +0300 |
commit | 6ff0b90d746146f8270207551c0edbfe80986846 (patch) | |
tree | 8344d591a6de2c4553c3a64bec827c1a9364c9ec /arch/arm/boot/dts/exynos4412-odroidx.dts | |
parent | 5343b1579247875ccfa88778e8db17e181c9f3fe (diff) | |
download | linux-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.dts | 2 |
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"; |