ARM: dts: imx53-ppd: Use IRQ_TYPE_* constants
authorSebastian Reichel <sebastian.reichel@collabora.co.uk>
Fri, 20 Apr 2018 15:45:53 +0000 (17:45 +0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 2 May 2018 13:21:38 +0000 (21:21 +0800)
Replace magic numbers with IRQ_TYPE_* constants to improve
DT readability.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx53-ppd.dts

index d5628af..d02d074 100644 (file)
                compatible = "dlg,da9053-aa";
                reg = <0>;
                interrupt-parent = <&gpio3>;
-               interrupts = <12 0x8>;
+               interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
                spi-max-frequency = <1000000>;
                dlg,tsi-as-adc;
                tsiref-supply = <&reg_tsiref>;
                                compatible = "fsl,mma8453";
                                reg = <0x1c>;
                                interrupt-parent = <&gpio1>;
-                               interrupts = <6 0>;
+                               interrupts = <6 IRQ_TYPE_NONE>;
                                interrupt-names = "INT1";
                        };
 
                reset-gpio = <&gpio5 19 GPIO_ACTIVE_HIGH>;
                reg = <0x4b>;
                interrupt-parent = <&gpio5>;
-               interrupts = <4 0x8>;
+               interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
        };
 };