]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: at91: Fix boolean properties with values
authorRob Herring <robh@kernel.org>
Wed, 6 Apr 2022 19:09:47 +0000 (14:09 -0500)
committerNicolas Ferre <nicolas.ferre@microchip.com>
Wed, 13 Apr 2022 16:42:50 +0000 (18:42 +0200)
commite03863c5a3d1541edb6690a8530b8d4fa74b7d5f
tree4e1b0c7b145dbf5d08958739934438d5b9049e9f
parent9b9cec67bf872fb2cba4f7ed5a6f2ab27a4dd0f5
ARM: dts: at91: Fix boolean properties with values

Boolean properties in DT are present or not present and don't take a value.
A property such as 'foo = <0>;' evaluated to true. IOW, the value doesn't
matter.

It may have been intended that 0 values are false, but there is no change
in behavior with this patch.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/Yk3leykDEKGBN8rk@robh.at.kernel.org
arch/arm/boot/dts/at91-kizbox3-hs.dts
arch/arm/boot/dts/at91-kizbox3_common.dtsi