diff options
| author | Andy Shevchenko <[email protected]> | 2024-03-04 17:35:33 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2024-03-05 18:24:58 +0000 |
| commit | 8ae438f5ff168cd0e3ba6e3cef7240fa5d110528 (patch) | |
| tree | 62066e2aa1bf90983550f2b58109dafc385e13fb /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
| parent | Merge tag 'v6.8-rc7' into gpio/for-next (diff) | |
| download | kernel-8ae438f5ff168cd0e3ba6e3cef7240fa5d110528.tar.gz kernel-8ae438f5ff168cd0e3ba6e3cef7240fa5d110528.zip | |
gpiolib: Deduplicate cleanup for-loop in gpiochip_add_data_with_key()
There is no need to repeat for-loop twice in the error path in
gpiochip_add_data_with_key(). Deduplicate it. While at it,
rename loop variable to be more specific and avoid ambguity.
It also properly unwinds the SRCU, i.e. in reversed order of allocating.
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions
