dt-bindings: Remove redundant 'maxItems'
Subsystems (7)
Rob Herring
maintainerPATCH 1/1 dt-bindings: Remove redundant 'maxItems'
There's no need to specify 'maxItems' with the same value as the number of entries in 'items'. A meta-schema update will catch future cases.
Cc Stephen Boyd <[email protected]>
Cc Shawn Guo <[email protected]>
Cc Sascha Hauer <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Anson Huang <[email protected]>
Signed-off-by Rob Herring <[email protected]>
--- Documentation/devicetree/bindings/clock/imx6q-clock.yaml | 1 - Documentation/devicetree/bindings/clock/imx6sl-clock.yaml | 1 - Documentation/devicetree/bindings/clock/imx6sll-clock.yaml | 1 - Documentation/devicetree/bindings/clock/imx6sx-clock.yaml | 1 - Documentation/devicetree/bindings/clock/imx6ul-clock.yaml | 1 - Documentation/devicetree/bindings/pwm/imx-pwm.yaml | 2 -- Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml | 2 -- 7 files changed, 9 deletions(-)
Documentation/devicetree/bindings/clock/imx6q-clock.yaml +0 -1
@@ -23,7 +23,6 @@ properties: items: - description: CCM interrupt request 1 - description: CCM interrupt request 2 - maxItems: 2 '#clock-cells': const: 1
Documentation/devicetree/bindings/clock/imx6sl-clock.yaml +0 -1
@@ -23,7 +23,6 @@ properties: items: - description: CCM interrupt request 1 - description: CCM interrupt request 2 - maxItems: 2 '#clock-cells': const: 1
Documentation/devicetree/bindings/clock/imx6sll-clock.yaml +0 -1
@@ -23,7 +23,6 @@ properties: items: - description: CCM interrupt request 1 - description: CCM interrupt request 2 - maxItems: 2 '#clock-cells': const: 1
Documentation/devicetree/bindings/clock/imx6sx-clock.yaml +0 -1
@@ -23,7 +23,6 @@ properties: items: - description: CCM interrupt request 1 - description: CCM interrupt request 2 - maxItems: 2 '#clock-cells': const: 1
Documentation/devicetree/bindings/clock/imx6ul-clock.yaml +0 -1
@@ -23,7 +23,6 @@ properties: items: - description: CCM interrupt request 1 - description: CCM interrupt request 2 - maxItems: 2 '#clock-cells': const: 1
Documentation/devicetree/bindings/pwm/imx-pwm.yaml +0 -2
@@ -30,13 +30,11 @@ properties: items: - description: SoC PWM ipg clock - description: SoC PWM per clock - maxItems: 2 clock-names: items: - const: ipg - const: per - maxItems: 2 interrupts: maxItems: 1
Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml +0 -2
@@ -64,13 +64,11 @@ properties: - const: hs_src power-domains: - maxItems: 2 items: - description: XUSBB(device) power-domain - description: XUSBA(superspeed) power-domain power-domain-names: - maxItems: 2 items: - const: dev - const: ss
Signature · 1 line
2.25.1
Quoting Rob Herring (2020-06-11 12:47:38)
Quoted 12 lines
There's no need to specify 'maxItems' with the same value as the number of entries in 'items'. A meta-schema update will catch future cases.
Cc Stephen Boyd <[email protected]>Cc Shawn Guo <[email protected]>Cc Sascha Hauer <[email protected]>Cc Thierry Reding <[email protected]>Cc Anson Huang <[email protected]>Signed-off-by Rob Herring <[email protected]>
Quoted 1 line
---
Reviewed-by Stephen Boyd <[email protected]> # clk
Quoted 12 lines · Rob Herring
There's no need to specify 'maxItems' with the same value as the number of entries in 'items'. A meta-schema update will catch future cases.
Cc Stephen Boyd <[email protected]>Cc Shawn Guo <[email protected]>Cc Sascha Hauer <[email protected]>Cc Thierry Reding <[email protected]>Cc Anson Huang <[email protected]>Signed-off-by Rob Herring <[email protected]>
Quoted 9 lines
--- Documentation/devicetree/bindings/clock/imx6q-clock.yaml | 1 - Documentation/devicetree/bindings/clock/imx6sl-clock.yaml | 1 - Documentation/devicetree/bindings/clock/imx6sll-clock.yaml | 1 - Documentation/devicetree/bindings/clock/imx6sx-clock.yaml | 1 - Documentation/devicetree/bindings/clock/imx6ul-clock.yaml | 1 - Documentation/devicetree/bindings/pwm/imx-pwm.yaml | 2 -- Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml | 2 -- 7 files changed, 9 deletions(-)
Acked-by Thierry Reding <[email protected]>
Quoted 2 lines · Rob Herring
There's no need to specify 'maxItems' with the same value as the number of entries in 'items'. A meta-schema update will catch future cases.
Sounds reasonable,
Acked-by Uwe Kleine-König <[email protected]>
Signature · 2 lines
Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |