]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: sh-pfc: r8a7791: Fix VIN1 versioned groups
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 9 Jan 2019 15:00:21 +0000 (16:00 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 21 Jan 2019 12:24:52 +0000 (13:24 +0100)
commit5f5fe45816e73f4d26a33dfe43e8560f05ab1eae
treeb6aa2e257d4d47fb634f37c1d4f3ff5cc49211b6
parent2e6d25542c3c7e483c4cacac1f06096b97b347de
pinctrl: sh-pfc: r8a7791: Fix VIN1 versioned groups

The naming of the "b" versions of the VIN1 pin groups is a bit odd, in
that the "_b" appears in the middle of the names, instead of as a
suffix.

Increase consistency with other SoCs by making R-Car M2-W and M2-N, and
RZ/G1M and RZ/G1N, use the recently added optional "version" argument of
the VIN_DATA_PIN_GROUP() macro.

Note that this breaks backwards compatibility with existing DTBs, but
there are no upstream users of the "vin1_b_*" names.

Fixes: 4c471fa9e057a83c ("pinctrl: sh-pfc: r8a7791: Add VIN pins")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pinctrl/sh-pfc/pfc-r8a7791.c