diff options
author | Bartosz Golaszewski <[email protected]> | 2024-10-04 16:43:23 +0200 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2024-10-08 10:21:46 +0200 |
commit | fa17f749ee5bc6afdaa9e0ddbe6a816b490dad7d (patch) | |
tree | ef60fcfc737bbe7e9d61318988338c7ae10684ad /tools/perf/scripts/python | |
parent | ee194b12bf9a2f2ed57b9c5bc7a5f221f7f4a06f (diff) |
gpiolib: unify two loops initializing GPIO descriptors
We currently iterate over the descriptors owned by the GPIO device we're
adding twice with the first loop just setting the gdev pointer. It's not
used anywhere between this and the second loop so just drop the first
one and move the assignment to the second.
Reviewed-by: Kent Gibson <[email protected]>
Link: https://lore.kernel.org/r/20241004-gpio-notify-in-kernel-events-v1-2-8ac29e1df4fe@linaro.org
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions