summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/exynos3250-monk.dts
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2017-06-02 20:13:45 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2017-06-07 20:51:24 +0200
commit6ff0b90d746146f8270207551c0edbfe80986846 (patch)
tree8344d591a6de2c4553c3a64bec827c1a9364c9ec /arch/arm/boot/dts/exynos3250-monk.dts
parent5343b1579247875ccfa88778e8db17e181c9f3fe (diff)
downloadlwn-6ff0b90d746146f8270207551c0edbfe80986846.tar.gz
lwn-6ff0b90d746146f8270207551c0edbfe80986846.zip
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/exynos3250-monk.dts')
-rw-r--r--arch/arm/boot/dts/exynos3250-monk.dts6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/exynos3250-monk.dts b/arch/arm/boot/dts/exynos3250-monk.dts
index cccfe4b791d1..accee81da266 100644
--- a/arch/arm/boot/dts/exynos3250-monk.dts
+++ b/arch/arm/boot/dts/exynos3250-monk.dts
@@ -67,7 +67,7 @@
max77836: subpmic@25 {
compatible = "maxim,max77836";
interrupt-parent = <&gpx1>;
- interrupts = <5 0>;
+ interrupts = <5 IRQ_TYPE_NONE>;
reg = <0x25>;
wakeup-source;
@@ -191,7 +191,7 @@
s2mps14_pmic@66 {
compatible = "samsung,s2mps14-pmic";
interrupt-parent = <&gpx0>;
- interrupts = <7 0>;
+ interrupts = <7 IRQ_TYPE_NONE>;
reg = <0x66>;
wakeup-source;
@@ -414,7 +414,7 @@
fuelgauge@36 {
compatible = "maxim,max77836-battery";
interrupt-parent = <&gpx1>;
- interrupts = <2 8>;
+ interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
reg = <0x36>;
};
};