diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-12-12 19:50:36 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-04-02 09:57:55 +0200 |
commit | efca8da0c5fcc7f5617bab769faa595f7efdc593 (patch) | |
tree | ffc46103917cdcd8733992376567ecf34d97839d /drivers/nfc | |
parent | pinctrl: sh-pfc: Allow compile-testing of all drivers (diff) | |
download | linux-efca8da0c5fcc7f5617bab769faa595f7efdc593.tar.xz linux-efca8da0c5fcc7f5617bab769faa595f7efdc593.zip |
pinctrl: sh-pfc: Absorb enum IDs in PINMUX_CFG_REG() macro
Currently the PINMUX_CFG_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 a new macro
GROUPS().
No functional changes.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'drivers/nfc')
0 files changed, 0 insertions, 0 deletions