]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: iio: adc: ad7476: Drop redundant prop: true
authorMatti Vaittinen <mazziesaccount@gmail.com>
Mon, 11 Aug 2025 08:51:50 +0000 (11:51 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 16 Aug 2025 12:21:21 +0000 (13:21 +0100)
commit260bb98ce3df870ef3d73361f6918463bc88a5b6
tree4993b6134ae5fe4edb4247f6f23d9d71a5ce42f7
parent27ec39c7090a8ad954426acf7121b4b5f2ec0043
dt-bindings: iio: adc: ad7476: Drop redundant prop: true

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@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/bee66444bf628ba9a34a02738a1842e2abc14290.1754901948.git.mazziesaccount@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/adc/adi,ad7476.yaml