Re: [PATCH 1/2] iio: adc: ad7266: simplify error return

From: Andy Shevchenko

Date: Fri Feb 20 2026 - 09:09:55 EST


On Fri, Feb 20, 2026 at 03:18:46PM +0200, Antoniu Miclaus wrote:
> Return PTR_ERR() directly instead of assigning it to an intermediate
> variable first.

Definitely!
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>

--
With Best Regards,
Andy Shevchenko