Re: [PATCH v4 6/6] iio: adc: ad7625: add LTC2387 and ADAQ2387x support
From: Nicolae-Daniel Deaconescu
Date: Mon Nov 23 2026 - 06:54:14 EST
> > + /* 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.
Thanks,
Daniel