[PATCH 2/3] dt-bindings: cpufreq: cpufreq-qcom-hw: Drop redundant minItems:1

Krzysztof Kozlowski posted 3 patches 9 months, 1 week ago
[PATCH 2/3] dt-bindings: cpufreq: cpufreq-qcom-hw: Drop redundant minItems:1
Posted by Krzysztof Kozlowski 9 months, 1 week ago
List cannot have 0 items, so 'minItems: 1' in each if:then: is
redundant.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml
index 6633a70e322019bf2f1cfdce8f3225b307dfffb6..5c53ceb265b6f0f98509ef1f45aa246e95a20a22 100644
--- a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml
+++ b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml
@@ -114,19 +114,15 @@ allOf:
     then:
       properties:
         reg:
-          minItems: 1
           maxItems: 1
 
         reg-names:
-          minItems: 1
           maxItems: 1
 
         interrupts:
-          minItems: 1
           maxItems: 1
 
         interrupt-names:
-          minItems: 1
           maxItems: 1
 
   - if:

-- 
2.43.0
Re: [PATCH 2/3] dt-bindings: cpufreq: cpufreq-qcom-hw: Drop redundant minItems:1
Posted by Rob Herring (Arm) 9 months, 1 week ago
On Thu, 13 Mar 2025 10:08:21 +0100, Krzysztof Kozlowski wrote:
> List cannot have 0 items, so 'minItems: 1' in each if:then: is
> redundant.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml | 4 ----
>  1 file changed, 4 deletions(-)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>