Re: [PATCH v2] iio: adc: at91_adc: change at91_ts_sample to return void
From: Jonathan Cameron
Date: Sun Feb 22 2026 - 13:59:33 EST
On Mon, 2 Feb 2026 09:11:58 -0600
David Lechner <dlechner@xxxxxxxxxxxx> wrote:
> 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@xxxxxxxxxx>
> > ---
> Reviewed-by: David Lechner <dlechner@xxxxxxxxxxxx>
>
Applied. Thanks,