On Mon, Mar 16, 2026 at 07:19:51PM +0200, Erikas Bitovtas wrote:
> Add supply, I2C and cathode voltage regulators to the sensor and enable
> them. This keeps the sensor powered on even after its only supply shared
> by another device shuts down.

...

> +     ret = devm_regulator_bulk_get_enable(dev, ARRAY_SIZE(regulator_names),
> +                                          regulator_names);

I was suggesting just to fix an indentation in your original approach,
but okay, this is not a big deal to have less logical split between lines.

> +     if (ret)
> +             return ret;

-- 
With Best Regards,
Andy Shevchenko



Reply via email to