diff options
author | Andy Shevchenko <[email protected]> | 2021-04-15 16:03:56 +0300 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2021-04-22 02:13:42 +0200 |
commit | 482715ff0601c836152b792f06c353464d826b9b (patch) | |
tree | c9b12bef26ea73e5057b644099d202dd7dfa9816 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 33cc5270d8f23066c2c3291ebd2aa8edda5f5fea (diff) |
pinctrl: core: Show pin numbers for the controllers with base = 0
The commit f1b206cf7c57 ("pinctrl: core: print gpio in pins debugfs file")
enabled GPIO pin number and label in debugfs for pin controller. However,
it limited that feature to the chips where base is positive number. This,
in particular, excluded chips where base is 0 for the historical or backward
compatibility reasons. Refactor the code to include the latter as well.
Fixes: f1b206cf7c57 ("pinctrl: core: print gpio in pins debugfs file")
Cc: Drew Fustini <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Tested-by: Drew Fustini <[email protected]>
Reviewed-by: Drew Fustini <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions