Skip to content

Commit 4bafca8

Browse files
krzkbebarino
authored andcommitted
dt-bindings: clock: drop minItems equal to maxItems
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> Link: https://lore.kernel.org/r/20220825113334.196908-3-krzysztof.kozlowski@linaro.org Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 450c787 commit 4bafca8

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

Documentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ properties:
2323
clocks:
2424
description:
2525
Common clock binding for CLK_IN, XTI/REF_CLK
26-
minItems: 2
2726
maxItems: 2
2827

2928
clock-names:

Documentation/devicetree/bindings/clock/renesas,rcar-usb2-clock-sel.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ properties:
4747
maxItems: 1
4848

4949
clocks:
50-
minItems: 4
5150
maxItems: 4
5251

5352
clock-names:
@@ -64,7 +63,6 @@ properties:
6463
maxItems: 1
6564

6665
resets:
67-
minItems: 2
6866
maxItems: 2
6967

7068
reset-names:

Documentation/devicetree/bindings/clock/samsung,s2mps11.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ properties:
3434
const: 1
3535

3636
clock-output-names:
37-
minItems: 3
3837
maxItems: 3
3938
description: Names for AP, CP and BT clocks.
4039

0 commit comments

Comments
 (0)