pinctrl: renesas: rmobile: Mark unused PORTCR bits reserved
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 13 Apr 2022 17:23:25 +0000 (19:23 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 5 May 2022 10:02:25 +0000 (12:02 +0200)
commit44778aec5ed9b541bc0ec61d475c35f3087e8024
treee829b6f76dcd5439a3f18f024f63ad02ecdbf66b
parent6210905586ae7f40e6f581e963cbf298dd13d462
pinctrl: renesas: rmobile: Mark unused PORTCR bits reserved

The PULMD bits and the SEC bit in the PORTCR register descriptions on
SH/R-Mobile SoCs are either unused or unsupported.  Describe them as
reserved bits using a negative field width value, and drop the
corresponding dummy enum IDs.

This reduces kernel size by 2832 (R-Mobile APE6), 2544 (R-Mobile A1),
and/or 3228 (SH-Mobile AG5) bytes.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/1b123d8f04c2314d5a7a87004971868ba2176499.1649865241.git.geert+renesas@glider.be
drivers/pinctrl/renesas/sh_pfc.h