[PATCH] iio: adc: meson: no devm for nvmem_cell_get

Andy Shevchenko andriy.shevchenko at intel.com
Tue Mar 3 23:17:17 PST 2026


On Tue, Mar 03, 2026 at 08:17:16PM -0800, Rosen Penev wrote:
> There is no reason to extend the lifetime of this post removal of the
> driver when it's only needed in one spot.
> 
> Moved tsc_regmap assignment to avoid two nvmem_cell_put calls.

Reviewed-by: Andy Shevchenko <andriy.shevchenko at intel.com>

-- 
With Best Regards,
Andy Shevchenko





More information about the linux-amlogic mailing list