summaryrefslogtreecommitdiffstats
path: root/tools/wmi
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2018-12-12 19:57:19 +0100
committerGeert Uytterhoeven <geert+renesas@glider.be>2019-04-02 09:57:58 +0200
commit69f7be1c6314fb0b1d5e2b101726db0c90f1ee61 (patch)
treebf78413a7a101a6486d2ede64ed36b820a37c0db /tools/wmi
parentefca8da0c5fcc7f5617bab769faa595f7efdc593 (diff)
downloadlinux-stable-69f7be1c6314fb0b1d5e2b101726db0c90f1ee61.tar.gz
linux-stable-69f7be1c6314fb0b1d5e2b101726db0c90f1ee61.tar.bz2
linux-stable-69f7be1c6314fb0b1d5e2b101726db0c90f1ee61.zip
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>
Diffstat (limited to 'tools/wmi')
0 files changed, 0 insertions, 0 deletions