[PATCH] dt-bindings: leds-mt6360: Drop redundant 'unevaluateProperties'

Rob Herring posted 1 patch 2 years, 6 months ago
Documentation/devicetree/bindings/leds/leds-mt6360.yaml | 2 --
1 file changed, 2 deletions(-)
[PATCH] dt-bindings: leds-mt6360: Drop redundant 'unevaluateProperties'
Posted by Rob Herring 2 years, 6 months ago
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")
Signed-off-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/leds/leds-mt6360.yaml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/leds/leds-mt6360.yaml b/Documentation/devicetree/bindings/leds/leds-mt6360.yaml
index b2fe6eb89389..10f95bf1d666 100644
--- a/Documentation/devicetree/bindings/leds/leds-mt6360.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-mt6360.yaml
@@ -43,8 +43,6 @@ patternProperties:
           - 4 # LED output FLASH1
           - 5 # LED output FLASH2
 
-unevaluatedProperties: false
-
 required:
   - compatible
   - "#address-cells"
-- 
2.34.1
Re: [PATCH] dt-bindings: leds-mt6360: Drop redundant 'unevaluateProperties'
Posted by Rob Herring 2 years, 6 months ago
On Tue, 26 Apr 2022 08:35:08 -0500, Rob Herring wrote:
> 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")
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  Documentation/devicetree/bindings/leds/leds-mt6360.yaml | 2 --
>  1 file changed, 2 deletions(-)
> 

Applied, thanks!
Re: [PATCH] dt-bindings: leds-mt6360: Drop redundant 'unevaluateProperties'
Posted by Pavel Machek 2 years, 6 months ago
On Wed 2022-04-27 13:29:41, Rob Herring wrote:
> On Tue, 26 Apr 2022 08:35:08 -0500, Rob Herring wrote:
> > 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")
> > Signed-off-by: Rob Herring <robh@kernel.org>
> > ---
> >  Documentation/devicetree/bindings/leds/leds-mt6360.yaml | 2 --
> >  1 file changed, 2 deletions(-)
> > 
> 
> Applied

Thank you!
							Pavel
-- 
People of Russia, stop Putin before his war on Ukraine escalates.