pinctrl: renesas: r8a7794: Add range checking to .pin_to_pocctrl()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 23 Dec 2021 14:28:20 +0000 (15:28 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 22 Feb 2022 08:55:56 +0000 (09:55 +0100)
commitefe80cdfabe15b9d51d5eca8f88ab3a89b49a768
tree788140c59c9e18eb912203dcb48c1e31a8c98a86
parent2e08ab0427fe3e33a92a37cfe3b6db340ab7397f
pinctrl: renesas: r8a7794: Add range checking to .pin_to_pocctrl()

The .pin_to_pocctrl() implementation for R-Car E2 does not perform a
full range check, unlike on all other SoCs.  Add the range check, so the
checker can validate better the consistency of the pin control tables.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/d23767ad7152327654192d7191f4b8ae19493966.1640269510.git.geert+renesas@glider.be
drivers/pinctrl/renesas/pfc-r8a7794.c