diff options
| author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-04-09 11:40:40 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-04-22 21:10:02 +0300 |
| commit | 135e101f4dd6e4177a1fbe587cb484f5827b4b88 (patch) | |
| tree | a0080775646b6214b86a5448be94747e8b012659 /include/linux/timerqueue.h | |
| parent | 0f8d8b3548fbbc1ee04ffa5a9bee4e57d3cf447c (diff) | |
| download | linux-135e101f4dd6e4177a1fbe587cb484f5827b4b88.tar.xz | |
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 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
