]> asedeno.scripts.mit.edu Git - linux.git/commit
pinctrl: sh-pfc: Validate pins/marks in pin groups at build time
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 12 Dec 2018 11:01:45 +0000 (12:01 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 18 Dec 2018 10:25:56 +0000 (11:25 +0100)
commit9925e879572680125c5d00ad8b807aec720b1cb6
tree4468ff596769a1083f7a6958d819b13060733d8e
parent124cde98f856b6206b804acbdec3b7c80f8c3427
pinctrl: sh-pfc: Validate pins/marks in pin groups at build time

Add a build-time check, to ensure the number of pins and pin marks in a
pin group matches.  This helps catching bugs early.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pinctrl/sh-pfc/sh_pfc.h