summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2025-09-11 16:42:02 -0500
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-09-13 14:38:42 +0100
commitd904b8e6d4efadbcb4a4a0e077850cabbee513ed (patch)
treed0faf0aef6703068f2014147ced931143d19f227 /tools/testing/selftests/net/lib/py/utils.py
parent1b4956cac19bb8bc9cf97ee8d3a7d5ee27871c7b (diff)
iio: adc: ad7124: use guard(mutex) to simplify return paths
Use guard(mutex) in a couple of functions to allow direct returns. This simplifies the code a bit and will make later changes easier. cleanup.h was already included for prior use of __free() Signed-off-by: David Lechner <dlechner@baylibre.com> Reviewed-by: Andy Shevchenko <andy@kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions