OSDN Git Service

ARM: dts: omap3-pandora-common: Use IRQ_TYPE specifier
authorHernán Gonzalez <hernan@vanguardiasur.com.ar>
Sun, 13 May 2018 23:29:52 +0000 (20:29 -0300)
committerTony Lindgren <tony@atomide.com>
Tue, 15 May 2018 18:17:26 +0000 (11:17 -0700)
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: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap3-pandora-common.dtsi

index da88d87..90c98f9 100644 (file)
                pinctrl-names = "default";
                pinctrl-0 = <&penirq_pins>;
                interrupt-parent = <&gpio3>;
-               interrupts = <30 0>;    /* GPIO_94 */
+               interrupts = <30 IRQ_TYPE_NONE>;        /* GPIO_94 */
                pendown-gpio = <&gpio3 30 GPIO_ACTIVE_HIGH>;
                vcc-supply = <&vaux4>;