Re: [PATCH v5 4/9] iio: adc: mcp3911: use resource-managed version of iio_device_register

From: Andy Shevchenko
Date: Tue Aug 09 2022 - 05:41:36 EST


On Tue, Aug 9, 2022 at 11:39 AM Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:

...

> You may rather switch to devm_clk_get_enabled() and drop this.

While doing this I would recommend to split the regulator case and clock case.

--
With Best Regards,
Andy Shevchenko