diff options
author | Dmitry Torokhov <[email protected]> | 2019-09-12 20:22:39 -0700 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2019-10-03 12:04:28 +0200 |
commit | 13949fa9daa91a60c7cfef40755f7611cc2cf653 (patch) | |
tree | 443c771cc46b00b469441305f0ca4a00cfb2672f /scripts/gdb/linux/timerlist.py | |
parent | 2d2f116d69c127099553afe0d87cf9c0bbe2759e (diff) |
gpiolib: introduce fwnode_gpiod_get_index()
This introduces fwnode_gpiod_get_index() that iterates through common gpio
suffixes when trying to locate a GPIO within a given firmware node.
We also switch devm_fwnode_gpiod_get_index() to call
fwnode_gpiod_get_index() instead of iterating through GPIO suffixes on
its own.
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Mika Westerberg <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions