mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
pinctrl: sh-pfc: checker: Add function GPIO checks
Add checks for legacy function GPIO descriptors: 1. Function GPIOs must have a name, 2. Names must be unique, 3. Enum ID values must be unique. This exposes bugs like those fixed in - commit884caadad1("pinctrl: sh-pfc: sh7734: Fix duplicate TCLK1_B"), - commit55b1cb1f03("pinctrl: sh-pfc: sh7264: Fix CAN function GPIOs"), - commit02aeb2f215("pinctrl: sh-pfc: sh7269: Fix CAN function GPIOs"), - commitdb9c07272c("sh: sh7264: Remove bogus SSU GPIO function definitions"), - commitb4fba344a2("sh: sh7269: Remove bogus SSU GPIO function definitions"). Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Link: https://lore.kernel.org/r/20200110131927.1029-14-geert+renesas@glider.be
This commit is contained in:
parent
0e6cd847a4
commit
92c44680c5
1 changed files with 20 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue