pinctrl: renesas: r8a77470: Reduce size for narrow VIN1 channel
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 23 Dec 2021 14:41:11 +0000 (15:41 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 22 Feb 2022 08:55:56 +0000 (09:55 +0100)
commit9e04a0eda84fccab0ac22a33825ad53f47c968c7
treeeb708ca4d77be9155e28de461ac40975542be066
parentefe80cdfabe15b9d51d5eca8f88ab3a89b49a768
pinctrl: renesas: r8a77470: Reduce size for narrow VIN1 channel

The second video-in channel on RZ/G1C has only 12 data lanes, but the
pin control driver uses the vin_data union, which is meant for 24 data
lanes, thus wasting space.

Fix this by using the vin_data12 union instead.

This reduces kernel size by 96 bytes.

Fixes: 50f3f2d73e3426ba ("pinctrl: sh-pfc: Reduce kernel size for narrow VIN channels")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/52716fa89139f6f92592633edb52804d4c5e18f0.1640269757.git.geert+renesas@glider.be
drivers/pinctrl/renesas/pfc-r8a77470.c