ARM: tegra: nyan: Use proper IRQ type definitions
authorPaul Kocialkowski <contact@paulk.fr>
Sun, 22 Jan 2017 15:47:48 +0000 (16:47 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 25 Jan 2017 10:57:31 +0000 (11:57 +0100)
This switches a few interrupt definitions that were using
GPIO_ACTIVE_HIGH as IRQ type, which is invalid.

This is mostly a cosmetic change, that doesn't affect any driver.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra124-nyan.dtsi

index eabfa65..ef430aa 100644 (file)
@@ -65,7 +65,7 @@
                        compatible = "maxim,max98090";
                        reg = <0x10>;
                        interrupt-parent = <&gpio>;
-                       interrupts = <TEGRA_GPIO(H, 4) GPIO_ACTIVE_HIGH>;
+                       interrupts = <TEGRA_GPIO(H, 4) IRQ_TYPE_EDGE_FALLING>;
                };
 
                temperature-sensor@4c {
                                        reg = <0x9>;
                                        interrupt-parent = <&gpio>;
                                        interrupts = <TEGRA_GPIO(J, 0)
-                                                       GPIO_ACTIVE_HIGH>;
+                                                       IRQ_TYPE_EDGE_BOTH>;
                                        ti,ac-detect-gpios = <&gpio
                                                        TEGRA_GPIO(J, 0)
                                                        GPIO_ACTIVE_HIGH>;