[PATCH v2] iio: adc: at91_adc: change at91_ts_sample to return void
Jonathan Cameron
jic23 at kernel.org
Sun Feb 22 10:59:13 PST 2026
On Mon, 2 Feb 2026 09:11:58 -0600
David Lechner <dlechner at baylibre.com> 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 at analog.com>
> > ---
> Reviewed-by: David Lechner <dlechner at baylibre.com>
>
Applied. Thanks,
More information about the linux-arm-kernel
mailing list