summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/exynos5420-peach-pit.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/exynos5420-peach-pit.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/exynos5420-peach-pit.dts')
-rw-r--r--arch/arm/boot/dts/exynos5420-peach-pit.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts
index 2cd65699a29c..f9a75bfd3f2b 100644
--- a/arch/arm/boot/dts/exynos5420-peach-pit.dts
+++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts
@@ -603,7 +603,7 @@
max98090: codec@10 {
compatible = "maxim,max98090";
reg = <0x10>;
- interrupts = <2 0>;
+ interrupts = <2 IRQ_TYPE_NONE>;
interrupt-parent = <&gpx0>;
pinctrl-names = "default";
pinctrl-0 = <&max98090_irq>;
@@ -944,7 +944,7 @@
cros_ec: cros-ec@0 {
compatible = "google,cros-ec-spi";
interrupt-parent = <&gpx1>;
- interrupts = <5 0>;
+ interrupts = <5 IRQ_TYPE_NONE>;
pinctrl-names = "default";
pinctrl-0 = <&ec_spi_cs &ec_irq>;
reg = <0>;