WSL2-Linux-Kernel/drivers/pinctrl/sh-pfc
Geert Uytterhoeven 69f7be1c63 pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG_VAR() macro
Currently the PINMUX_CFG_REG_VAR() macro must be followed by
initialization data, specifying all enum IDs.  Hence the macro itself
does not know anything about the enum IDs, preventing the macro from
performing any validation on it.

Make the macro accept the enum IDs as a parameter, and update all users.
Note that array data enclosed by curly braces cannot be passed to a
macro as a parameter, hence both the register field widths and the enum
IDs are wrapped using the GROUP() macro.

No functional changes.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2019-04-02 09:57:58 +02:00
..
Kconfig pinctrl: sh-pfc: Allow compile-testing of all drivers 2019-04-02 09:57:50 +02:00
Makefile pinctrl: sh-pfc: Allow compile-testing of all drivers 2019-04-02 09:57:50 +02:00
core.c pinctrl: sh-pfc: Validate pinmux tables at runtime when debugging 2019-04-02 09:57:50 +02:00
core.h pinctrl: sh-pfc: Convert to SPDX identifiers 2018-09-11 12:25:32 +02:00
gpio.c pinctrl: sh-pfc: Introduce PINCTRL_SH_FUNC_GPIO helper symbol 2019-04-02 09:57:50 +02:00
pfc-emev2.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG_VAR() macro 2019-04-02 09:57:58 +02:00
pfc-r8a73a4.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG() macro 2019-04-02 09:57:55 +02:00
pfc-r8a7740.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG() macro 2019-04-02 09:57:55 +02:00
pfc-r8a7778.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG_VAR() macro 2019-04-02 09:57:58 +02:00
pfc-r8a7779.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG_VAR() macro 2019-04-02 09:57:58 +02:00
pfc-r8a7790.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG_VAR() macro 2019-04-02 09:57:58 +02:00
pfc-r8a7791.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG_VAR() macro 2019-04-02 09:57:58 +02:00
pfc-r8a7792.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG_VAR() macro 2019-04-02 09:57:58 +02:00
pfc-r8a7794.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG_VAR() macro 2019-04-02 09:57:58 +02:00
pfc-r8a7795-es1.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG_VAR() macro 2019-04-02 09:57:58 +02:00
pfc-r8a7795.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG_VAR() macro 2019-04-02 09:57:58 +02:00
pfc-r8a7796.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG_VAR() macro 2019-04-02 09:57:58 +02:00
pfc-r8a77470.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG_VAR() macro 2019-04-02 09:57:58 +02:00
pfc-r8a77965.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG_VAR() macro 2019-04-02 09:57:58 +02:00
pfc-r8a77970.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG_VAR() macro 2019-04-02 09:57:58 +02:00
pfc-r8a77980.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG_VAR() macro 2019-04-02 09:57:58 +02:00
pfc-r8a77990.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG_VAR() macro 2019-04-02 09:57:58 +02:00
pfc-r8a77995.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG_VAR() macro 2019-04-02 09:57:58 +02:00
pfc-sh73a0.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG() macro 2019-04-02 09:57:55 +02:00
pfc-sh7203.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG() macro 2019-04-02 09:57:55 +02:00
pfc-sh7264.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG() macro 2019-04-02 09:57:55 +02:00
pfc-sh7269.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG() macro 2019-04-02 09:57:55 +02:00
pfc-sh7720.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG() macro 2019-04-02 09:57:55 +02:00
pfc-sh7722.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG() macro 2019-04-02 09:57:55 +02:00
pfc-sh7723.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG() macro 2019-04-02 09:57:55 +02:00
pfc-sh7724.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG() macro 2019-04-02 09:57:55 +02:00
pfc-sh7734.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG_VAR() macro 2019-04-02 09:57:58 +02:00
pfc-sh7757.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG() macro 2019-04-02 09:57:55 +02:00
pfc-sh7785.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG() macro 2019-04-02 09:57:55 +02:00
pfc-sh7786.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG() macro 2019-04-02 09:57:55 +02:00
pfc-shx3.c pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG() macro 2019-04-02 09:57:55 +02:00
pinctrl.c pinctrl: sh-pfc: Print pin group when debugging 2019-01-21 13:24:52 +01:00
sh_pfc.h pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG_VAR() macro 2019-04-02 09:57:58 +02:00