Re: [PATCH v5 21/21] regulator: s2mps11: enable-gpios is optional on s2mpg1x

From: Bartosz Golaszewski
Date: Fri Jan 02 2026 - 05:20:21 EST


On Sat, Dec 27, 2025 at 1:24 PM André Draszik <andre.draszik@xxxxxxxxxx> wrote:
>
> For s2mpg1x, enable-gpios is optional, but when not given, the driver
> is complaining quite verbosely about the missing property.
>
> Refactor the code slightly to avoid printing those messages to the
> kernel log in that case.
>

I don't get the point of this - you added this function in the same
series, why can't it be done right the first time it's implemented?

Bart