pinctrl: renesas: r8a7740: Optimize fixed-width reserved fields
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 13 Apr 2022 17:23:46 +0000 (19:23 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 5 May 2022 10:02:26 +0000 (12:02 +0200)
commit72ee7f9b6fd34076a8c6d443450b9f1e5208e3fc
tree8c758eb00bb923b0fd4573253fd2b5b1e249245b
parent9cad77c5c817688048d38d66e2c679ad25ca1a0f
pinctrl: renesas: r8a7740: 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 230 bytes.

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