diff options
author | 2024-10-31 21:01:52 +0100 | |
---|---|---|
committer | 2024-11-04 08:56:19 +0100 | |
commit | f4af1671c28854bb0a400740a9c6ebacb8b9aa6b (patch) | |
tree | 7011fcc89d23049cbdcca91a868857cf69974738 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: sysfs: use cleanup guards for gpiod_data::mutex (diff) | |
download | wireguard-linux-f4af1671c28854bb0a400740a9c6ebacb8b9aa6b.tar.xz wireguard-linux-f4af1671c28854bb0a400740a9c6ebacb8b9aa6b.zip |
gpio: sysfs: use cleanup guards for the sysfs_lock mutex
Shrink the code and remove some goto labels by using guards around the
sysfs_lock mutex.
Reviewed-by: Kent Gibson <warthog618@gmail.com>
Link: https://lore.kernel.org/r/20241031-gpio-notify-sysfs-v4-2-142021c2195c@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions