summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2025-04-09 10:40:40 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-04-22 19:10:02 +0100
commit135e101f4dd6e4177a1fbe587cb484f5827b4b88 (patch)
treea0080775646b6214b86a5448be94747e8b012659 /tools/perf/scripts/python
parent0f8d8b3548fbbc1ee04ffa5a9bee4e57d3cf447c (diff)
downloadlinux-135e101f4dd6e4177a1fbe587cb484f5827b4b88.tar.gz
linux-135e101f4dd6e4177a1fbe587cb484f5827b4b88.zip
iio: dac: ad5592r: use lock guards
Use lock guards from linux/cleanup.h to simplify the code and remove some labels. Note that we need to initialize some variables even though it's not technically required as scoped_guards() are implemented as for loops. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Link: https://patch.msgid.link/20250409-gpiochip-set-rv-iio-v2-2-4b36428f39cb@linaro.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions