diff options
author | Andy Shevchenko <[email protected]> | 2023-11-03 21:53:07 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2023-12-13 11:28:36 +0000 |
commit | 9bbd6b7209cf1e26390975b7617a29901c8990a1 (patch) | |
tree | 861327f36f44bca4c527ce4a770433b33ed6d5ba /tools/perf/scripts/python/netdev-times.py | |
parent | 75469bb0537ad2ab0fc1fb6e534a79cfc03f3b3f (diff) |
leds: trigger: gpio: Replace custom code for gpiod_get_optional()
gpiod_get_optional() and currently used fwnode_gpiod_get_index()
are both wrappers against the same engine internally. Since we
have a pointer to struct device there is no reason to use fwnode
type of GPIO call. So, replace the current fwnode call by respective
gpiod ones.
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions