diff options
| author | Angus Gardner <angusg778@gmail.com> | 2026-05-04 19:20:58 +1000 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2026-05-31 10:59:33 +0100 |
| commit | 8b8e850eada20e96ef22621b87f58a72b69566cf (patch) | |
| tree | 6b574541ef72d92d1630a182c2a9cda297dcf8eb /tools/perf/scripts/python | |
| parent | 19f2c27251d86cf1272d475c52a190d01e9f996b (diff) | |
staging: iio: ad9834: use dev_err_probe() in probe function
Replace open-coded dev_err() + return sequences with dev_err_probe(),
which is the preferred pattern for probe error paths as it handles
deferred probing correctly and reduces boilerplate.
Convert all three remaining instances in ad9834_probe():
- master clock enable failure
- device init SPI sync failure
The avdd regulator path already used dev_err_probe().
Signed-off-by: Angus Gardner <angusg778@gmail.com>
Reviewed-by: Maxwell Doose <m32285159@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
