diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-07-15 09:14:22 -0400 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-07-29 09:17:42 -0400 |
commit | e3d93b46718f12924128e5e70e2f3f992a95fa3b (patch) | |
tree | 4f3d246b2bdcc845808ab5805bacedc40ff85d59 /drivers/pinctrl/sh-pfc/pfc-sh7372.c | |
parent | 757b055a65c5e0f84185012ef45cc2e15a337b63 (diff) |
sh-pfc: Consolidate PFC SoC data macros
Move macros defined in several SoC data files to a common location and
document them.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tested-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
Diffstat (limited to 'drivers/pinctrl/sh-pfc/pfc-sh7372.c')
-rw-r--r-- | drivers/pinctrl/sh-pfc/pfc-sh7372.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/pinctrl/sh-pfc/pfc-sh7372.c b/drivers/pinctrl/sh-pfc/pfc-sh7372.c index f269c46ad3fa..9174ff26738e 100644 --- a/drivers/pinctrl/sh-pfc/pfc-sh7372.c +++ b/drivers/pinctrl/sh-pfc/pfc-sh7372.c | |||
@@ -384,11 +384,8 @@ enum { | |||
384 | PINMUX_MARK_END, | 384 | PINMUX_MARK_END, |
385 | }; | 385 | }; |
386 | 386 | ||
387 | #define _PORT_DATA(pfx, sfx) PORT_DATA_IO(pfx) | ||
388 | #define PINMUX_DATA_GP_ALL() CPU_ALL_PORT(_PORT_DATA, , unused) | ||
389 | |||
390 | static const u16 pinmux_data[] = { | 387 | static const u16 pinmux_data[] = { |
391 | PINMUX_DATA_GP_ALL(), | 388 | PINMUX_DATA_ALL(), |
392 | 389 | ||
393 | /* IRQ */ | 390 | /* IRQ */ |
394 | PINMUX_DATA(IRQ0_6_MARK, PORT6_FN0, MSEL1CR_0_0), | 391 | PINMUX_DATA(IRQ0_6_MARK, PORT6_FN0, MSEL1CR_0_0), |