2022-06-07 18:07:04

by Rob Herring

[permalink] [raw]
Subject: [PATCH] dt-bindings: nvme: apple,nvme-ans: Drop 'maxItems' from 'apple,sart'

A 'phandle' type is always a single cell, so 'maxItems: 1' is redundant.

Fixes: 82b96552f15a ("dt-bindings: nvme: Add Apple ANS NVMe")
Signed-off-by: Rob Herring <[email protected]>
---
Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml | 1 -
1 file changed, 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml b/Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml
index ddff9233b159..34dd1cc67124 100644
--- a/Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml
+++ b/Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml
@@ -55,7 +55,6 @@ properties:
maxItems: 1

apple,sart:
- maxItems: 1
$ref: /schemas/types.yaml#/definitions/phandle
description: |
Reference to the SART address filter.
--
2.34.1


2022-06-08 02:41:59

by Sven Peter

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: nvme: apple,nvme-ans: Drop 'maxItems' from 'apple,sart'

On Mon, Jun 6, 2022, at 23:22, Rob Herring wrote:
> A 'phandle' type is always a single cell, so 'maxItems: 1' is redundant.
>
> Fixes: 82b96552f15a ("dt-bindings: nvme: Add Apple ANS NVMe")
> Signed-off-by: Rob Herring <[email protected]>

Reviewed-by: Sven Peter <[email protected]>

2022-06-08 05:19:41

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: nvme: apple,nvme-ans: Drop 'maxItems' from 'apple,sart'

On Mon, 06 Jun 2022 16:22:30 -0500, Rob Herring wrote:
> A 'phandle' type is always a single cell, so 'maxItems: 1' is redundant.
>
> Fixes: 82b96552f15a ("dt-bindings: nvme: Add Apple ANS NVMe")
> Signed-off-by: Rob Herring <[email protected]>
> ---
> Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml | 1 -
> 1 file changed, 1 deletion(-)
>

Applied, thanks!