pinctrl: renesas: sh7269: Optimize fixed-width reserved fields
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 13 Apr 2022 17:24:02 +0000 (19:24 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 5 May 2022 10:02:28 +0000 (12:02 +0200)
commitd567210e4b8ab2cc49cf087ac81f3f0a6bc8e274
tree42723a9c2162062631feb2454ceb41ec3b620509
parent78fc20c155411d26f4a549959f3e3c7da9805a1e
pinctrl: renesas: sh7269: Optimize fixed-width reserved fields

Describe registers with fixed-width register fields and many reserved
fields using the PINMUX_CFG_REG_VAR() macro, as the latter supports a
shorthand not requiring dummy values.

This reduces kernel size by 406 bytes.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/feb1e865c2b6abbc0db24243143ea09ad143f6df.1649865241.git.geert+renesas@glider.be
drivers/pinctrl/renesas/pfc-sh7269.c