OSDN Git Service

pinctrl: sh-pfc: r8a7796: Fix VIN versioned groups
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Thu, 8 Nov 2018 16:07:27 +0000 (17:07 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 13 Nov 2018 09:52:33 +0000 (10:52 +0100)
commit10e78f03da181b24f33a8a77047fb6798126fb46
treed944efcd665be349ccb70628004441ea438d0cf3
parent184844ccda4138402846bf4b42c28ac5f16a458a
pinctrl: sh-pfc: r8a7796: 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 M3-W R8A7796 SoC.

Fixes: a5c2949ff7bd ("pinctrl: sh-pfc: r8a7796: 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-r8a7796.c