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: dd2c898bc2
("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>
This commit is contained in:
parent
ae11ad385f
commit
71a9aa162d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue