Re: [PATCH v4 6/6] iio: adc: ad7625: add LTC2387 and ADAQ2387x support

From: Jonathan Cameron

Date: Sat Nov 28 2026 - 19:41:10 EST


On Mon, 23 Nov 2026 13:53:46 +0200
Nicolae-Daniel Deaconescu <Nicolae-daniel.Deaconescu@xxxxxxxxxx> wrote:

> > > + /* VS- of the ADAQ modules is left out if it is tied to ground. */
> > > + ret = devm_regulator_get_enable_optional(dev, "vs-n");
> > Does it hurt to just a non optional call here?
>
> regulator_get() prints "supply vs-n not found, using dummy regulator" at
> dev_warn() level. That would show on every probe if VS- is tied to ground.
> I'd keep the optional call so that case stays quiet, unless you prefer the
> warning.
Huh. That's irritating. Ok. Then carry on with this.

>
> Thanks,
> Daniel