]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: w1-gpio: Drop redundant 'maxItems'
authorRob Herring <robh@kernel.org>
Tue, 28 Sep 2021 21:54:07 +0000 (16:54 -0500)
committerRob Herring <robh@kernel.org>
Mon, 4 Oct 2021 18:11:22 +0000 (13:11 -0500)
commitd5e83c1f66bd3a6ea27710d98f3374c5aa298470
treee994ddcdb493cb8b1815bf7f5058c8edb46ac3a1
parent141353d0369589bdb8dd356ff6e534a25047cdec
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: 04879aa8b45b ("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>
Documentation/devicetree/bindings/w1/w1-gpio.yaml