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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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