diff options
author | Rob Herring | 2019-07-09 21:26:31 +0200 |
---|---|---|
committer | Mark Brown | 2019-07-10 17:31:26 +0200 |
commit | 43167bb1f6bb7efa73adc40d2dd700bb6546cc2c (patch) | |
tree | 8cd4de1dbad7ea3612bef482eb3754303f1b63a6 /Documentation/devicetree | |
parent | spi: pxa2xx: Add support for Intel Elkhart Lake (diff) | |
download | kernel-qcow2-linux-43167bb1f6bb7efa73adc40d2dd700bb6546cc2c.tar.gz kernel-qcow2-linux-43167bb1f6bb7efa73adc40d2dd700bb6546cc2c.tar.xz kernel-qcow2-linux-43167bb1f6bb7efa73adc40d2dd700bb6546cc2c.zip |
spi: dt-bindings: spi-controller: remove unnecessary 'maxItems: 1' from reg
Mixing array constraints like 'maxItems' and string or integer value
constraints like 'minimum' don't make sense. Also, with only value
constraints, it is implied we have a single value. So lets remove
'maxItems: 1'.
Cc: Mark Brown <broonie@kernel.org>
Cc: linux-spi@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20190709192631.16394-1-robh@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/spi/spi-controller.yaml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/spi/spi-controller.yaml b/Documentation/devicetree/bindings/spi/spi-controller.yaml index 876c0623f322..a02e2fe2bfb2 100644 --- a/Documentation/devicetree/bindings/spi/spi-controller.yaml +++ b/Documentation/devicetree/bindings/spi/spi-controller.yaml @@ -73,7 +73,6 @@ patternProperties: Compatible of the SPI device. reg: - maxItems: 1 minimum: 0 maximum: 256 description: |