regulator: da9121: Use additionalProperties
authorVincent Whitchurch <vincent.whitchurch@axis.com>
Mon, 9 Nov 2020 08:54:37 +0000 (09:54 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 9 Nov 2020 17:43:17 +0000 (17:43 +0000)
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@kernel.org>
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Link: https://lore.kernel.org/r/20201109085438.16230-1-vincent.whitchurch@axis.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/dlg,da9121.yaml

index cde0d82..2ece46e 100644 (file)
@@ -22,7 +22,7 @@ properties:
     $ref: "regulator.yaml#"
     type: object
 
-unevaluatedProperties: false
+additionalProperties: false
 
 required:
   - compatible