Commit 71a9aa16 authored by Rob Herring's avatar Rob Herring

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: dd2c898b ("dt-bindings: w1: Convert 1-Wire GPIO binding to a schema")
Cc: Daniel Mack <zonque@gmail.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent ae11ad38
...@@ -15,7 +15,6 @@ properties: ...@@ -15,7 +15,6 @@ properties:
gpios: gpios:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: Data I/O pin - description: Data I/O pin
- description: Enable pin for an external pull-up resistor - description: Enable pin for an external pull-up resistor
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment