| From 2d01248af781e3a88a679ae9c56e66e5991965ae Mon Sep 17 00:00:00 2001 |
| From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> |
| Date: Sun, 14 Jul 2013 19:58:57 +0200 |
| Subject: sh-pfc: Remove unused PORT_DATA_* macros |
| |
| Most of the PORT_DATA_* macros are not used, remove them. |
| |
| Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> |
| Tested-by: Yusuke Goda <yusuke.goda.sx@renesas.com> |
| (cherry picked from commit b7e760e0b80ba236b5db96e921c5a8fc3d61f2af) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| drivers/pinctrl/sh-pfc/sh_pfc.h | 30 ------------------------------ |
| 1 file changed, 30 deletions(-) |
| |
| diff --git a/drivers/pinctrl/sh-pfc/sh_pfc.h b/drivers/pinctrl/sh-pfc/sh_pfc.h |
| index 64219f6b..0e3e00fa 100644 |
| --- a/drivers/pinctrl/sh-pfc/sh_pfc.h |
| +++ b/drivers/pinctrl/sh-pfc/sh_pfc.h |
| @@ -209,40 +209,10 @@ enum { GPIO_CFG_REQ, GPIO_CFG_FREE }; |
| #define GPIO_FN(str) PINMUX_GPIO_FN(GPIO_FN_##str, PINMUX_FN_BASE, str##_MARK) |
| |
| /* helper macro for pinmux_enum_t */ |
| -#define PORT_DATA_I(nr) \ |
| - PINMUX_DATA(PORT##nr##_DATA, PORT##nr##_FN0, PORT##nr##_IN) |
| - |
| -#define PORT_DATA_I_PD(nr) \ |
| - PINMUX_DATA(PORT##nr##_DATA, PORT##nr##_FN0, \ |
| - PORT##nr##_IN, PORT##nr##_IN_PD) |
| - |
| -#define PORT_DATA_I_PU(nr) \ |
| - PINMUX_DATA(PORT##nr##_DATA, PORT##nr##_FN0, \ |
| - PORT##nr##_IN, PORT##nr##_IN_PU) |
| - |
| -#define PORT_DATA_I_PU_PD(nr) \ |
| - PINMUX_DATA(PORT##nr##_DATA, PORT##nr##_FN0, \ |
| - PORT##nr##_IN, PORT##nr##_IN_PD, PORT##nr##_IN_PU) |
| - |
| -#define PORT_DATA_O(nr) \ |
| - PINMUX_DATA(PORT##nr##_DATA, PORT##nr##_FN0, PORT##nr##_OUT) |
| - |
| #define PORT_DATA_IO(nr) \ |
| PINMUX_DATA(PORT##nr##_DATA, PORT##nr##_FN0, PORT##nr##_OUT, \ |
| PORT##nr##_IN) |
| |
| -#define PORT_DATA_IO_PD(nr) \ |
| - PINMUX_DATA(PORT##nr##_DATA, PORT##nr##_FN0, PORT##nr##_OUT, \ |
| - PORT##nr##_IN, PORT##nr##_IN_PD) |
| - |
| -#define PORT_DATA_IO_PU(nr) \ |
| - PINMUX_DATA(PORT##nr##_DATA, PORT##nr##_FN0, PORT##nr##_OUT, \ |
| - PORT##nr##_IN, PORT##nr##_IN_PU) |
| - |
| -#define PORT_DATA_IO_PU_PD(nr) \ |
| - PINMUX_DATA(PORT##nr##_DATA, PORT##nr##_FN0, PORT##nr##_OUT, \ |
| - PORT##nr##_IN, PORT##nr##_IN_PD, PORT##nr##_IN_PU) |
| - |
| /* helper macro for top 4 bits in PORTnCR */ |
| #define _PCRH(in, in_pd, in_pu, out) \ |
| 0, (out), (in), 0, \ |
| -- |
| 1.8.4.3.gca3854a |
| |