diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2015-11-11 14:29:59 +0900 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2015-11-30 13:41:35 +0100 |
commit | 2d24fe675ae1824402987fbf626ce34c461760bb (patch) | |
tree | 6ef08b4f744354c23b7b6eb4cabc4f57cf00c972 /drivers/pinctrl/sh-pfc/pfc-sh7734.c | |
parent | a56069c46c102710721e003e2423ca377d99687b (diff) | |
download | blackbird-op-linux-2d24fe675ae1824402987fbf626ce34c461760bb.tar.gz blackbird-op-linux-2d24fe675ae1824402987fbf626ce34c461760bb.zip |
pinctrl: sh-pfc: Share/reuse same PORT_GP_x() macros
Many SoC needs each PORT_GP_x() macros, but we can share/reuse
same one.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'drivers/pinctrl/sh-pfc/pfc-sh7734.c')
-rw-r--r-- | drivers/pinctrl/sh-pfc/pfc-sh7734.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/pinctrl/sh-pfc/pfc-sh7734.c b/drivers/pinctrl/sh-pfc/pfc-sh7734.c index e7deb51de7dc..9d6686548064 100644 --- a/drivers/pinctrl/sh-pfc/pfc-sh7734.c +++ b/drivers/pinctrl/sh-pfc/pfc-sh7734.c @@ -14,14 +14,6 @@ #include "sh_pfc.h" -#define PORT_GP_12(bank, fn, sfx) \ - PORT_GP_1(bank, 0, fn, sfx), PORT_GP_1(bank, 1, fn, sfx), \ - PORT_GP_1(bank, 2, fn, sfx), PORT_GP_1(bank, 3, fn, sfx), \ - PORT_GP_1(bank, 4, fn, sfx), PORT_GP_1(bank, 5, fn, sfx), \ - PORT_GP_1(bank, 6, fn, sfx), PORT_GP_1(bank, 7, fn, sfx), \ - PORT_GP_1(bank, 8, fn, sfx), PORT_GP_1(bank, 9, fn, sfx), \ - PORT_GP_1(bank, 10, fn, sfx), PORT_GP_1(bank, 11, fn, sfx) - #define CPU_ALL_PORT(fn, sfx) \ PORT_GP_32(0, fn, sfx), \ PORT_GP_32(1, fn, sfx), \ |