diff options
author | Rob Herring <robh@kernel.org> | 2021-09-29 00:54:07 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2021-10-04 21:11:22 +0300 |
commit | 71a9aa162d7b2f9b92b51462203324bcd5a5aeff (patch) | |
tree | e994ddcdb493cb8b1815bf7f5058c8edb46ac3a1 /Documentation/devicetree/bindings/w1 | |
parent | ae11ad385f819fa473cc00de036a0dd074b6bf40 (diff) | |
download | linux-71a9aa162d7b2f9b92b51462203324bcd5a5aeff.tar.xz |
dt-bindings: w1-gpio: Drop redundant 'maxItems'
Drop another redundant maxItems that snuck into w1-gpio binding.
If a property has an 'items' list, then a 'minItems' or 'maxItems' with the
same size as the list is redundant and can be dropped. Note that is DT
schema specific behavior and not standard json-schema behavior. The tooling
will fixup the final schema adding any unspecified minItems/maxItems.
Fixes: dd2c898bc20b ("dt-bindings: w1: Convert 1-Wire GPIO binding to a schema")
Cc: Daniel Mack <zonque@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/w1')
-rw-r--r-- | Documentation/devicetree/bindings/w1/w1-gpio.yaml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/w1/w1-gpio.yaml b/Documentation/devicetree/bindings/w1/w1-gpio.yaml index 7ba1c2fd4722..8eef2380161b 100644 --- a/Documentation/devicetree/bindings/w1/w1-gpio.yaml +++ b/Documentation/devicetree/bindings/w1/w1-gpio.yaml @@ -15,7 +15,6 @@ properties: gpios: minItems: 1 - maxItems: 2 items: - description: Data I/O pin - description: Enable pin for an external pull-up resistor |