diff options
author | Geert Uytterhoeven <[email protected]> | 2020-01-10 14:19:27 +0100 |
---|---|---|
committer | Geert Uytterhoeven <[email protected]> | 2020-02-21 13:57:44 +0100 |
commit | 92c44680c5c6f1342288f6626da4008d416d8e40 (patch) | |
tree | 7a6c812cbeafabfcd9a3e6963887e008b864b0ad /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 0e6cd847a420e21f6e0d476c355127a7cbcb4a5d (diff) |
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
- commit 884caadad128efad ("pinctrl: sh-pfc: sh7734: Fix duplicate
TCLK1_B"),
- commit 55b1cb1f03ad5eea ("pinctrl: sh-pfc: sh7264: Fix CAN function
GPIOs"),
- commit 02aeb2f21530c98f ("pinctrl: sh-pfc: sh7269: Fix CAN function
GPIOs"),
- commit db9c07272c8245a2 ("sh: sh7264: Remove bogus SSU GPIO function
definitions"),
- commit b4fba344a2930769 ("sh: sh7269: Remove bogus SSU GPIO function
definitions").
Signed-off-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Niklas Söderlund <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions