diff options
author | Rob Herring <robh@kernel.org> | 2020-12-22 07:06:45 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2020-12-23 04:58:24 +0300 |
commit | 2b8f061a4f505aad11fd36adb24c3138ad09b96b (patch) | |
tree | 55049848d624304e4ee663fc9f252260a376d42a /Documentation/devicetree/bindings/usb/renesas,usb-xhci.yaml | |
parent | 246eedd70da91d57bf485bd558c50f7b2286c462 (diff) | |
download | linux-2b8f061a4f505aad11fd36adb24c3138ad09b96b.tar.xz |
dt-bindings: Drop redundant maxItems/items
'maxItems' equal to the 'items' list length is redundant. 'maxItems' is
preferred for a single entry while greater than 1 should have an 'items'
list.
A meta-schema check for this is pending once these existing cases are
fixed.
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: dri-devel@lists.freedesktop.org
Cc: dmaengine@vger.kernel.org
Cc: alsa-devel@alsa-project.org
Cc: linux-usb@vger.kernel.org
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Vinod Koul <vkoul@kernel.org>
Acked-by: Jassi Brar <jassisinghbrar@gmail.com>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20201222040645.1323611-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/usb/renesas,usb-xhci.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/usb/renesas,usb-xhci.yaml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/usb/renesas,usb-xhci.yaml b/Documentation/devicetree/bindings/usb/renesas,usb-xhci.yaml index 0f078bd0a3e5..22603256ddf8 100644 --- a/Documentation/devicetree/bindings/usb/renesas,usb-xhci.yaml +++ b/Documentation/devicetree/bindings/usb/renesas,usb-xhci.yaml @@ -51,7 +51,6 @@ properties: maxItems: 1 phy-names: - maxItems: 1 items: - const: usb |