ARM: shmobile: r8a7790: Replace IRQ type numerical values with macros
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 21 Jan 2014 12:48:39 +0000 (13:48 +0100)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:13:40 +0000 (11:13 +0100)
Replace the hardcoded value 4 with IRQ_TYPE_LEVEL_HIGH.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit 1f4c745b2c5a083c49dc11d2f0827d9a381f1ee1)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7790.dtsi

index 51c8978..ba0ef9a 100644 (file)
                compatible = "renesas,scifa-r8a7790", "renesas,scifa";
                reg = <0 0xe6c40000 0 64>;
                interrupt-parent = <&gic>;
-               interrupts = <0 144 4>;
+               interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp2_clks R8A7790_CLK_SCIFA0>;
                clock-names = "sci_ick";
                status = "disabled";
                compatible = "renesas,scifa-r8a7790", "renesas,scifa";
                interrupt-parent = <&gic>;
                reg = <0 0xe6c50000 0 64>;
-               interrupts = <0 145 4>;
+               interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp2_clks R8A7790_CLK_SCIFA1>;
                clock-names = "sci_ick";
                status = "disabled";
                compatible = "renesas,scifa-r8a7790", "renesas,scifa";
                interrupt-parent = <&gic>;
                reg = <0 0xe6c60000 0 64>;
-               interrupts = <0 151 4>;
+               interrupts = <0 151 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp2_clks R8A7790_CLK_SCIFA2>;
                clock-names = "sci_ick";
                status = "disabled";
                compatible = "renesas,scifb-r8a7790", "renesas,scifb";
                interrupt-parent = <&gic>;
                reg = <0 0xe6c20000 0 64>;
-               interrupts = <0 148 4>;
+               interrupts = <0 148 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp2_clks R8A7790_CLK_SCIFB0>;
                clock-names = "sci_ick";
                status = "disabled";
                compatible = "renesas,scifb-r8a7790", "renesas,scifb";
                interrupt-parent = <&gic>;
                reg = <0 0xe6c30000 0 64>;
-               interrupts = <0 149 4>;
+               interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp2_clks R8A7790_CLK_SCIFB1>;
                clock-names = "sci_ick";
                status = "disabled";
                compatible = "renesas,scifb-r8a7790", "renesas,scifb";
                interrupt-parent = <&gic>;
                reg = <0 0xe6ce0000 0 64>;
-               interrupts = <0 150 4>;
+               interrupts = <0 150 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp2_clks R8A7790_CLK_SCIFB2>;
                clock-names = "sci_ick";
                status = "disabled";
                compatible = "renesas,scif-r8a7790", "renesas,scif";
                interrupt-parent = <&gic>;
                reg = <0 0xe6e60000 0 64>;
-               interrupts = <0 152 4>;
+               interrupts = <0 152 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp7_clks R8A7790_CLK_SCIF0>;
                clock-names = "sci_ick";
                status = "disabled";
                compatible = "renesas,scif-r8a7790", "renesas,scif";
                interrupt-parent = <&gic>;
                reg = <0 0xe6e68000 0 64>;
-               interrupts = <0 153 4>;
+               interrupts = <0 153 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp7_clks R8A7790_CLK_SCIF1>;
                clock-names = "sci_ick";
                status = "disabled";
                compatible = "renesas,hscif-r8a7790", "renesas,hscif";
                interrupt-parent = <&gic>;
                reg = <0 0xe62c0000 0 96>;
-               interrupts = <0 154 4>;
+               interrupts = <0 154 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp7_clks R8A7790_CLK_HSCIF0>;
                clock-names = "sci_ick";
                status = "disabled";
                compatible = "renesas,hscif-r8a7790", "renesas,hscif";
                interrupt-parent = <&gic>;
                reg = <0 0xe62c8000 0 96>;
-               interrupts = <0 155 4>;
+               interrupts = <0 155 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp7_clks R8A7790_CLK_HSCIF1>;
                clock-names = "sci_ick";
                status = "disabled";