[PATCH v2] iio: adc: at91_adc: change at91_ts_sample to return void
David Lechner
dlechner at baylibre.com
Mon Feb 2 07:11:58 PST 2026
On 2/2/26 5:57 AM, Antoniu Miclaus wrote:
> The return value of at91_ts_sample() is never checked by its caller.
> Change the return type to void to make this explicit. The error
> conditions are already logged via dev_err() which provides sufficient
> visibility into hardware issues.
>
> Signed-off-by: Antoniu Miclaus <antoniu.miclaus at analog.com>
> ---
Reviewed-by: David Lechner <dlechner at baylibre.com>
More information about the linux-arm-kernel
mailing list