dt-bindings: ata: drop minItems equal to maxItems
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 25 Aug 2022 11:33:31 +0000 (14:33 +0300)
committerRob Herring <robh@kernel.org>
Mon, 29 Aug 2022 19:58:17 +0000 (14:58 -0500)
minItems, if missing, are implicitly equal to maxItems, so drop
redundant piece to reduce size of code.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Link: https://lore.kernel.org/r/20220825113334.196908-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/ata/brcm,sata-brcm.yaml
Documentation/devicetree/bindings/ata/cortina,gemini-sata-bridge.yaml
Documentation/devicetree/bindings/ata/sata_highbank.yaml

index 235a93a..3766cc8 100644 (file)
@@ -30,7 +30,6 @@ properties:
           - const: brcm,bcm-nsp-ahci
 
   reg:
-    minItems: 2
     maxItems: 2
 
   reg-names:
index 21a9097..5290936 100644 (file)
@@ -22,7 +22,6 @@ properties:
     maxItems: 1
 
   resets:
-    minItems: 2
     maxItems: 2
     description: phandles to the reset lines for both SATA bridges
 
@@ -32,7 +31,6 @@ properties:
       - const: sata1
 
   clocks:
-    minItems: 2
     maxItems: 2
     description: phandles to the compulsory peripheral clocks
 
index 49679b5..f23f26a 100644 (file)
@@ -52,7 +52,6 @@ properties:
     minItems: 1
     maxItems: 8
     items:
-      minItems: 2
       maxItems: 2
 
   calxeda,tx-atten: