aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/sh-pfc/pfc-sh73a0.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-07-23 19:24:15 -0400
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-07-29 09:52:04 -0400
commitdeeb6d3f1fce7e2269462eaa7cfe1ea426857d89 (patch)
tree219aa4494aad1f660009381860ab57196448221b /drivers/pinctrl/sh-pfc/pfc-sh73a0.c
parentf3dcc9ffadea53e355e7d94cf9930898fc6a4b67 (diff)
sh-pfc: sh73a0: Remove EXT_IRQ16L and EXT_IRQ16H macros
The macros expand to irq_pin() calls and where most probably introduced from a copy&paste of the sh7372 PFC data. Replace them with irq_pin(). Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Magnus Damm <damm@opensource.se>
Diffstat (limited to 'drivers/pinctrl/sh-pfc/pfc-sh73a0.c')
-rw-r--r--drivers/pinctrl/sh-pfc/pfc-sh73a0.c68
1 files changed, 32 insertions, 36 deletions
diff --git a/drivers/pinctrl/sh-pfc/pfc-sh73a0.c b/drivers/pinctrl/sh-pfc/pfc-sh73a0.c
index 7956df58d751..d2e81681c25a 100644
--- a/drivers/pinctrl/sh-pfc/pfc-sh73a0.c
+++ b/drivers/pinctrl/sh-pfc/pfc-sh73a0.c
@@ -3674,43 +3674,39 @@ static const struct pinmux_data_reg pinmux_data_regs[] = {
3674 { }, 3674 { },
3675}; 3675};
3676 3676
3677/* External IRQ pins mapped at IRQPIN_BASE */
3678#define EXT_IRQ16L(n) irq_pin(n)
3679#define EXT_IRQ16H(n) irq_pin(n)
3680
3681static const struct pinmux_irq pinmux_irqs[] = { 3677static const struct pinmux_irq pinmux_irqs[] = {
3682 PINMUX_IRQ(EXT_IRQ16H(19), 9), 3678 PINMUX_IRQ(irq_pin(19), 9),
3683 PINMUX_IRQ(EXT_IRQ16L(1), 10), 3679 PINMUX_IRQ(irq_pin(1), 10),
3684 PINMUX_IRQ(EXT_IRQ16L(0), 11), 3680 PINMUX_IRQ(irq_pin(0), 11),
3685 PINMUX_IRQ(EXT_IRQ16H(18), 13), 3681 PINMUX_IRQ(irq_pin(18), 13),
3686 PINMUX_IRQ(EXT_IRQ16H(20), 14), 3682 PINMUX_IRQ(irq_pin(20), 14),
3687 PINMUX_IRQ(EXT_IRQ16H(21), 15), 3683 PINMUX_IRQ(irq_pin(21), 15),
3688 PINMUX_IRQ(EXT_IRQ16H(31), 26), 3684 PINMUX_IRQ(irq_pin(31), 26),
3689 PINMUX_IRQ(EXT_IRQ16H(30), 27), 3685 PINMUX_IRQ(irq_pin(30), 27),
3690 PINMUX_IRQ(EXT_IRQ16H(29), 28), 3686 PINMUX_IRQ(irq_pin(29), 28),
3691 PINMUX_IRQ(EXT_IRQ16H(22), 40), 3687 PINMUX_IRQ(irq_pin(22), 40),
3692 PINMUX_IRQ(EXT_IRQ16H(23), 53), 3688 PINMUX_IRQ(irq_pin(23), 53),
3693 PINMUX_IRQ(EXT_IRQ16L(10), 54), 3689 PINMUX_IRQ(irq_pin(10), 54),
3694 PINMUX_IRQ(EXT_IRQ16L(9), 56), 3690 PINMUX_IRQ(irq_pin(9), 56),
3695 PINMUX_IRQ(EXT_IRQ16H(26), 115), 3691 PINMUX_IRQ(irq_pin(26), 115),
3696 PINMUX_IRQ(EXT_IRQ16H(27), 116), 3692 PINMUX_IRQ(irq_pin(27), 116),
3697 PINMUX_IRQ(EXT_IRQ16H(28), 117), 3693 PINMUX_IRQ(irq_pin(28), 117),
3698 PINMUX_IRQ(EXT_IRQ16H(24), 118), 3694 PINMUX_IRQ(irq_pin(24), 118),
3699 PINMUX_IRQ(EXT_IRQ16L(6), 147), 3695 PINMUX_IRQ(irq_pin(6), 147),
3700 PINMUX_IRQ(EXT_IRQ16L(2), 149), 3696 PINMUX_IRQ(irq_pin(2), 149),
3701 PINMUX_IRQ(EXT_IRQ16L(7), 150), 3697 PINMUX_IRQ(irq_pin(7), 150),
3702 PINMUX_IRQ(EXT_IRQ16L(12), 156), 3698 PINMUX_IRQ(irq_pin(12), 156),
3703 PINMUX_IRQ(EXT_IRQ16L(4), 159), 3699 PINMUX_IRQ(irq_pin(4), 159),
3704 PINMUX_IRQ(EXT_IRQ16H(25), 164), 3700 PINMUX_IRQ(irq_pin(25), 164),
3705 PINMUX_IRQ(EXT_IRQ16L(8), 223), 3701 PINMUX_IRQ(irq_pin(8), 223),
3706 PINMUX_IRQ(EXT_IRQ16L(3), 224), 3702 PINMUX_IRQ(irq_pin(3), 224),
3707 PINMUX_IRQ(EXT_IRQ16L(5), 227), 3703 PINMUX_IRQ(irq_pin(5), 227),
3708 PINMUX_IRQ(EXT_IRQ16H(17), 234), 3704 PINMUX_IRQ(irq_pin(17), 234),
3709 PINMUX_IRQ(EXT_IRQ16L(11), 238), 3705 PINMUX_IRQ(irq_pin(11), 238),
3710 PINMUX_IRQ(EXT_IRQ16L(13), 239), 3706 PINMUX_IRQ(irq_pin(13), 239),
3711 PINMUX_IRQ(EXT_IRQ16H(16), 249), 3707 PINMUX_IRQ(irq_pin(16), 249),
3712 PINMUX_IRQ(EXT_IRQ16L(14), 251), 3708 PINMUX_IRQ(irq_pin(14), 251),
3713 PINMUX_IRQ(EXT_IRQ16L(9), 308), 3709 PINMUX_IRQ(irq_pin(9), 308),
3714}; 3710};
3715 3711
3716/* ----------------------------------------------------------------------------- 3712/* -----------------------------------------------------------------------------