Re: [PATCH v2 1/1] iio: core: Simplify IIO core managed APIs

From: Jonathan Cameron

Date: Sun Feb 22 2026 - 11:54:30 EST


On Fri, 20 Feb 2026 14:25:19 +0100
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:

> Use devm_add_action_or_reset() instead of devres_alloc() and
> devres_add(), which works the same. This will simplify the
> code. There is no functional changes.
>
> While at it, inline devm_iio_kfifo_allocate() into its only user.
>
> Reviewed-by: Nuno Sá <nuno.sa@xxxxxxxxxx>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Nice. Applied

Thanks,

Jonathan