pinctrl: sh-pfc: r8a7795: Fix VIN versioned groups
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Thu, 8 Nov 2018 16:07:26 +0000 (17:07 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 13 Nov 2018 09:52:28 +0000 (10:52 +0100)
commit184844ccda4138402846bf4b42c28ac5f16a458a
tree95d1fe987f50ef6c069b40ac9f35977e0bd3f80b
parent11c8f8df85e77329d5a3cacc08682722cb80b95b
pinctrl: sh-pfc: r8a7795: Fix VIN versioned groups

Versioned VIN groups can appear on different sets of pins. Using the
VIN_DATA_PIN_GROUP macro now supports proper naming of said groups
through an optional 'version' argument.

Use the 'version' argument for said macro to fix naming of versioned
groups for the R-Car H3 R8A7795 SoC.

Fixes: 9942a5b52990 ("pinctrl: sh-pfc: r8a7795: Deduplicate VIN4 pin definitions")
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/pinctrl/sh-pfc/pfc-r8a7795.c