Re: [PATCH v6 1/4] iio: backend: use __free(fwnode_handle) for automatic cleanup

From: Andy Shevchenko

Date: Fri Mar 13 2026 - 10:22:26 EST


On Fri, Mar 13, 2026 at 01:58:50PM +0200, Antoniu Miclaus wrote:
> Convert __devm_iio_backend_fwnode_get() to use the __free(fwnode_handle)
> cleanup attribute for the fwnode_back variable, removing the need for
> manual fwnode_handle_put() calls. Move the declaration closer to its
> first use, narrowing its scope.
>
> No functional change.

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

--
With Best Regards,
Andy Shevchenko