diff options
author | David Lechner <dlechner@baylibre.com> | 2023-10-10 23:12:35 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-10-12 10:00:58 +0200 |
commit | 169dc2adafecc19ecf53a101398edd7f3ff03529 (patch) | |
tree | 84b98915721a670dd7e75fcc8f8fb7f1539bc6f0 /drivers/iio/resolver | |
parent | staging: iio: resolver: ad2s1210: clear faults after soft reset (diff) | |
download | linux-169dc2adafecc19ecf53a101398edd7f3ff03529.tar.xz linux-169dc2adafecc19ecf53a101398edd7f3ff03529.zip |
staging: iio: resolver: ad2s1210: simplify code with guard(mutex)
We can simplify the code and get rid of most of the gotos by using
guard(mutex) from cleanup.h.
Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://lore.kernel.org/r/20231010-ad2s1210-mainline-v5-3-35a0f6ffa04a@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/resolver')
0 files changed, 0 insertions, 0 deletions