Skip to contentSkip to conversation

dt-bindings: leds-mt6360: Drop redundant 'unevaluateProperties'

PATCH Applied Rob Herring 2 participants 3 messages Apr 26, 2022 – May 4, 2022

Subsystems (3)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: leds-mt6360: Drop redundant 'unevaluateProperties'

The binding has both 'unevaluateProperties: false' and 'additionalProperties: false' which is redundant. 'additionalProperties' is the stricter of the two, so drop 'unevaluateProperties'.

Fixes e05cab34e417 ("dt-bindings: leds: Add bindings for MT6360 LED")
---
 Documentation/devicetree/bindings/leds/leds-mt6360.yaml | 2 --
 1 file changed, 2 deletions(-)
Documentation/devicetree/bindings/leds/leds-mt6360.yaml +0 -2
index b2fe6eb89389..10f95bf1d666 100644
@@ -43,8 +43,6 @@ patternProperties:
           - 4 # LED output FLASH1
           - 5 # LED output FLASH2
 
-unevaluatedProperties: false
-
 required:
   - compatible
   - "#address-cells"
Signature · 7 lines
2.34.1


_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
author maintainer Applied
#1 lore raw
Quoted 10 lines · Rob Herring

The binding has both 'unevaluateProperties: false' and 'additionalProperties: false' which is redundant. 'additionalProperties' is the stricter of the two, so drop 'unevaluateProperties'.

Fixes e05cab34e417 ("dt-bindings: leds: Add bindings for MT6360 LED")
---
 Documentation/devicetree/bindings/leds/leds-mt6360.yaml | 2 --
 1 file changed, 2 deletions(-)

Applied, thanks!

_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek

#2 lore raw
Quoted 5 lines · Rob Herring
Quoted 4 lines · Rob Herring

The binding has both 'unevaluateProperties: false' and 'additionalProperties: false' which is redundant. 'additionalProperties' is the stricter of the two, so drop 'unevaluateProperties'.

Quoted 8 lines
Quoted 6 lines
Fixes e05cab34e417 ("dt-bindings: leds: Add bindings for MT6360 LED")
---
 Documentation/devicetree/bindings/leds/leds-mt6360.yaml | 2 --
 1 file changed, 2 deletions(-)

Applied

Thank you!
Pavel

Signature · 1 line
People of Russia, stop Putin before his war on Ukraine escalates.

_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek