Re: [PATCH v4 08/11] dt-bindings: iio: adc: ad7476: Drop redundant prop: true

From: Krzysztof Kozlowski
Date: Thu Aug 14 2025 - 03:34:44 EST


On Mon, Aug 11, 2025 at 11:51:50AM +0300, Matti Vaittinen wrote:
> The ad7476 supports a few variants with different power-supplies and
> control GPIOs. The binding first unconditionally introduces all the
> properties, and later sets them 'true' or 'false' based on the
> combatible.
>
> The 'true' seems to be implied by the initial property introduction so
> the 'true' -branches in later conditional handling (based on the
> compatible) can be omitted.
>
> Drop the redundant true -branches.
>
> Signed-off-by: Matti Vaittinen <mazziesaccount@xxxxxxxxx>
>

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

Best regards,
Krzysztof