Re: [PATCH v3 5/6] iio: light: vcnl4000: make pm_runtime_enable() device-managed
From: Andy Shevchenko
Date: Mon Apr 13 2026 - 06:20:16 EST
On Fri, Apr 10, 2026 at 07:11:21PM +0300, Erikas Bitovtas wrote:
> Replace pm_runtime_set_active() and pm_runtime_enable() with their
> device-managed counterpart to remove them from vcnl4000_remove().
This sounds like almost no changes, the little detail is that now in case of
iio_device_register() failure the pm_runtime_dont_use_autosuspend() will also
be called, which I think is fine.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
--
With Best Regards,
Andy Shevchenko