diff options
author | Dmitry Torokhov <[email protected]> | 2019-09-12 20:22:38 -0700 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2019-10-03 12:03:58 +0200 |
commit | 2d2f116d69c127099553afe0d87cf9c0bbe2759e (patch) | |
tree | dfcf9ace659ecd5aa4993a09fa05dac56e27ef67 /scripts/gdb/linux/timerlist.py | |
parent | 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c (diff) |
gpiolib: introduce devm_fwnode_gpiod_get_index()
devm_fwnode_get_index_gpiod_from_child() is too long, besides the fwnode
in question does not have to be a child of device node. Let's rename it
to devm_fwnode_gpiod_get_index() and keep the old name for compatibility
for now.
Also let's add a devm_fwnode_gpiod_get() wrapper as majority of the
callers need a single GPIO.
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Reviewed-by: Mika Westerberg <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions