[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250814-authentic-silky-lyrebird-05cbdd@kuoka>
Date: Thu, 14 Aug 2025 09:25:58 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Matti Vaittinen <mazziesaccount@...il.com>
Cc: Matti Vaittinen <matti.vaittinen@...rohmeurope.com>,
Lars-Peter Clausen <lars@...afoo.de>, Michael Hennerich <Michael.Hennerich@...log.com>,
Jonathan Cameron <jic23@...nel.org>, David Lechner <dlechner@...libre.com>,
Nuno Sá <nuno.sa@...log.com>, Andy Shevchenko <andy@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>, Mark Brown <broonie@...nel.org>, linux-iio@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4 08/11] dt-bindings: iio: adc: ad7476: Drop redundant
prop: true
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@...il.com>
>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Best regards,
Krzysztof
Powered by blists - more mailing lists