]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: cpufreq: cpufreq-qcom-hw: Drop redundant minItems:1
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 13 Mar 2025 09:08:21 +0000 (10:08 +0100)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 17 Mar 2025 06:05:24 +0000 (11:35 +0530)
List cannot have 0 items, so 'minItems: 1' in each if:then: is
redundant.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml

index ee2a7eff1657f8a028c71c4450bf140a8083386d..475331dc71bc882d833603026d5be857f78d033f 100644 (file)
@@ -115,19 +115,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: