diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-03-31 13:12:50 +0100 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-04-22 19:09:59 +0100 |
| commit | d9e6b59e5ba942e7d804588e778bf0bdbbd6cca7 (patch) | |
| tree | 3c29cea36253fae5f5a2199fe7f1f084e7283b65 /tools/perf/scripts/python/libxed.py | |
| parent | 6c9dc1e8f296effd17f36a4653f6928c17a16dce (diff) | |
| download | linux-d9e6b59e5ba942e7d804588e778bf0bdbbd6cca7.tar.gz linux-d9e6b59e5ba942e7d804588e778bf0bdbbd6cca7.zip | |
iio: humidity: hdc100x: Use guard(mutex) to simplify code flow
By using autoreleasing on the lock a number of paths can use
direct returns allow earlier exit from functions.
Reviewed-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
Link: https://patch.msgid.link/20250331121317.1694135-11-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
