OSDN Git Service

ARM: dts: imx6qdl-phytec-pfla02: Use IRQ_TYPE specifier
authorHernán Gonzalez <hernan@vanguardiasur.com.ar>
Sun, 13 May 2018 23:28:35 +0000 (20:28 -0300)
committerShawn Guo <shawnguo@kernel.org>
Tue, 15 May 2018 07:09:33 +0000 (15:09 +0800)
Replace magic number with the proper IRQ_TYPE specifier to improve DT
readability.

Signed-off-by: Hernán Gonzalez <hernan@vanguardiasur.com.ar>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi

index c58f344..ed1aafd 100644 (file)
                compatible = "dlg,da9063";
                reg = <0x58>;
                interrupt-parent = <&gpio2>;
-               interrupts = <9 0x8>; /* active-low GPIO2_9 */
+               interrupts = <9 IRQ_TYPE_LEVEL_LOW>; /* active-low GPIO2_9 */
 
                regulators {
                        vddcore_reg: bcore1 {