summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/sh-pfc/sh_pfc.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2015-11-30 15:34:47 +0300
committerGeert Uytterhoeven <geert+renesas@glider.be>2016-02-08 18:50:08 +0300
commite01678e35f4be547704e1935a6fb7d30a2b621a7 (patch)
tree55f0e351ca35b9a661a842fbc1c64b8f23fd55ea /drivers/pinctrl/sh-pfc/sh_pfc.h
parentcbc983f85ca28188a8b7086b50e3895d388682d2 (diff)
downloadlinux-e01678e35f4be547704e1935a6fb7d30a2b621a7.tar.xz
pinctrl: sh-pfc: Rename PINMUX_IPSR_DATA() to PINMUX_IPSR_GPSR()
This macro describes a pinmux configuration that needs configuration in both a Peripheral Function Select Register (IPSR) and in a GPIO/Peripheral Function Select Register 1 (GPSR). Reflect that in the macro name for clarity. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'drivers/pinctrl/sh-pfc/sh_pfc.h')
-rw-r--r--drivers/pinctrl/sh-pfc/sh_pfc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/sh-pfc/sh_pfc.h b/drivers/pinctrl/sh-pfc/sh_pfc.h
index f945c4408015..a490834e2089 100644
--- a/drivers/pinctrl/sh-pfc/sh_pfc.h
+++ b/drivers/pinctrl/sh-pfc/sh_pfc.h
@@ -241,7 +241,7 @@ struct sh_pfc_soc_info {
* - ipsr: IPSR field
* - fn: Function name, also referring to the IPSR field
*/
-#define PINMUX_IPSR_DATA(ipsr, fn) \
+#define PINMUX_IPSR_GPSR(ipsr, fn) \
PINMUX_DATA(fn##_MARK, FN_##fn, FN_##ipsr)
/*