summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pxa
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2019-01-21 19:20:53 +0100
committerGeert Uytterhoeven <geert+renesas@glider.be>2019-04-02 09:58:01 +0200
commit19b593a1cf068effeca496f5dc92e5ad43f91bb2 (patch)
tree2017c5aec0980ef07df354f12ba30b50000d9e88 /drivers/pinctrl/pxa
parent69f7be1c6314fb0b1d5e2b101726db0c90f1ee61 (diff)
pinctrl: sh-pfc: Absorb enum IDs in PINMUX_DATA_REG() macro
Currently the PINMUX_DATA_REG() 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 the enum IDs are wrapped using the GROUP() macro. No functional changes. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'drivers/pinctrl/pxa')
0 files changed, 0 insertions, 0 deletions