diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-02-17 14:16:17 +0000 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-03-04 13:17:49 +0000 |
| commit | f1a4a2e6b85ef9c76868173b87b19e2fa3107cd1 (patch) | |
| tree | 95533c5f219cbe879ae6ddaf09dc00f07e3f1192 /tools/perf/scripts/python/task-analyzer.py | |
| parent | iio: adc: ad7791: Switch to sparse friendly iio_device_claim/release_direct() (diff) | |
| download | linux-f1a4a2e6b85ef9c76868173b87b19e2fa3107cd1.tar.gz linux-f1a4a2e6b85ef9c76868173b87b19e2fa3107cd1.zip | |
iio: adc: ad7793: Factor out core of ad7793_write_raw() to simplify error handling
Factor out everything under the direct mode claim allowing direct returns
in error paths. Switch sense of matching in the loop and use a continue
to reduce code indent and improve readability.
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://patch.msgid.link/20250217141630.897334-18-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
