diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-01-21 19:20:53 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-04-02 09:58:01 +0200 |
commit | 19b593a1cf068effeca496f5dc92e5ad43f91bb2 (patch) | |
tree | 2017c5aec0980ef07df354f12ba30b50000d9e88 /drivers/pinctrl/pxa | |
parent | 69f7be1c6314fb0b1d5e2b101726db0c90f1ee61 (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