pinctrl: sh-pfc: Validate pin tables at runtime
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 27 Mar 2019 10:41:36 +0000 (11:41 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 21 May 2019 09:07:29 +0000 (11:07 +0200)
commit542ffc9e026a3f736eeaa041823d406510f40a12
tree8de7f873825486d39aaa245d351d71dc90ba4a71
parent3dd5fd79f07103f7cda30567f8bf85a854796dd6
pinctrl: sh-pfc: Validate pin tables at runtime

Extend the run-time debug code with checks to ensure there are no
conflicting pin names, numbers, or enumeration values.

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/core.c