diff mbox series

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

Message ID 20220426133508.1849580-1-robh@kernel.org
State New
Headers show
Series dt-bindings: leds-mt6360: Drop redundant 'unevaluateProperties' | expand

Commit Message

Rob Herring (Arm) April 26, 2022, 1:35 p.m. UTC
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(-)

Comments

Rob Herring (Arm) April 27, 2022, 6:29 p.m. UTC | #1
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!
Pavel Machek May 4, 2022, 5:56 p.m. UTC | #2
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
diff mbox series

Patch

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"