diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-02-17 17:16:17 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-03-04 16:17:49 +0300 |
| commit | f1a4a2e6b85ef9c76868173b87b19e2fa3107cd1 (patch) | |
| tree | 95533c5f219cbe879ae6ddaf09dc00f07e3f1192 /tools/perf/scripts/python/sched-migration.py | |
| parent | 85e840ced7a89cbd7c401f299eb337db5f41acd0 (diff) | |
| download | linux-f1a4a2e6b85ef9c76868173b87b19e2fa3107cd1.tar.xz | |
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/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
