[PATCH] dt-bindings: regulator: da9121: Use additionalProperties

From: Vincent Whitchurch
Date: Mon Nov 09 2020 - 03:55:25 EST


There's no $ref at the top level so use additionalProperties instead of
unevaluatedProperties.

This fixes the following warning with the latest dtschema:

Documentation/devicetree/bindings/regulator/dlg,da9121.yaml:
'additionalProperties' is a required property

Reported-by: Rob Herring <robh@xxxxxxxxxx>
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@xxxxxxxx>
---
Documentation/devicetree/bindings/regulator/dlg,da9121.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/regulator/dlg,da9121.yaml b/Documentation/devicetree/bindings/regulator/dlg,da9121.yaml
index cde0d82dd201..2ece46ee1a59 100644
--- a/Documentation/devicetree/bindings/regulator/dlg,da9121.yaml
+++ b/Documentation/devicetree/bindings/regulator/dlg,da9121.yaml
@@ -22,7 +22,7 @@ properties:
$ref: "regulator.yaml#"
type: object

-unevaluatedProperties: false
+additionalProperties: false

required:
- compatible
--
2.28.0