Message ID | 20221207204406.2810864-1-robh@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | media: dt-bindings: atmel,isc: Drop unneeded unevaluatedProperties | expand |
On Wed, 07 Dec 2022 14:44:06 -0600, Rob Herring wrote: > The 'port' node scheam has both 'additionalProperties' and > 'unevaluatedProperties', but only one is necessary. > 'additionalProperties' works here, so drop 'unevaluatedProperties' and > move 'additionalProperties' next to the $ref. > > Signed-off-by: Rob Herring <robh@kernel.org> > --- > Documentation/devicetree/bindings/media/atmel,isc.yaml | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > Applied, thanks!
diff --git a/Documentation/devicetree/bindings/media/atmel,isc.yaml b/Documentation/devicetree/bindings/media/atmel,isc.yaml index cd6d7af0c768..dc8aba698d78 100644 --- a/Documentation/devicetree/bindings/media/atmel,isc.yaml +++ b/Documentation/devicetree/bindings/media/atmel,isc.yaml @@ -45,7 +45,7 @@ properties: port: $ref: /schemas/graph.yaml#/$defs/port-base - unevaluatedProperties: false + additionalProperties: false description: Input port node, single endpoint describing the input pad. @@ -77,8 +77,6 @@ properties: additionalProperties: false - additionalProperties: false - required: - compatible - reg
The 'port' node scheam has both 'additionalProperties' and 'unevaluatedProperties', but only one is necessary. 'additionalProperties' works here, so drop 'unevaluatedProperties' and move 'additionalProperties' next to the $ref. Signed-off-by: Rob Herring <robh@kernel.org> --- Documentation/devicetree/bindings/media/atmel,isc.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)