summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/sh-pfc/sh_pfc.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-10-29 13:02:18 +0100
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-12-10 16:18:08 +0100
commit3f9c1268159917932fcefe9b3abd5eabb4ed5a29 (patch)
treecddecb262da9799b9048f1bf81dd09847f6200b6 /drivers/pinctrl/sh-pfc/sh_pfc.h
parent18334c8e18b2cea1c5c1ad4103ea1bf359a21775 (diff)
downloadblackbird-op-linux-3f9c1268159917932fcefe9b3abd5eabb4ed5a29.tar.gz
blackbird-op-linux-3f9c1268159917932fcefe9b3abd5eabb4ed5a29.zip
sh-pfc: Share common PORTCR macro definition
The macro is defined identically in four different locations. Share it. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sh-pfc/sh_pfc.h')
-rw-r--r--drivers/pinctrl/sh-pfc/sh_pfc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pinctrl/sh-pfc/sh_pfc.h b/drivers/pinctrl/sh-pfc/sh_pfc.h
index 11bd0d970a52..8a494e557b43 100644
--- a/drivers/pinctrl/sh-pfc/sh_pfc.h
+++ b/drivers/pinctrl/sh-pfc/sh_pfc.h
@@ -304,8 +304,7 @@ struct sh_pfc_soc_info {
#define PORTCR(nr, reg) \
{ \
PINMUX_CFG_REG("PORT" nr "CR", reg, 8, 4) { \
- _PCRH(PORT##nr##_IN, PORT##nr##_IN_PD, \
- PORT##nr##_IN_PU, PORT##nr##_OUT), \
+ _PCRH(PORT##nr##_IN, 0, 0, PORT##nr##_OUT), \
PORT##nr##_FN0, PORT##nr##_FN1, \
PORT##nr##_FN2, PORT##nr##_FN3, \
PORT##nr##_FN4, PORT##nr##_FN5, \
OpenPOWER on IntegriCloud