Commit c05cbf02 authored by Jonathan Cameron's avatar Jonathan Cameron
Browse files

iio: adc: ad7791: Factor out core of ad7791_write_raw() to simplify error handling



Factor out everything under the direct mode claim allowing direct returns
in error paths.

Reviewed-by: default avatarNuno Sá <nuno.sa@analog.com>
Link: https://patch.msgid.link/20250217141630.897334-16-jic23@kernel.org


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 15bed4f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment