Commit 28565413 authored by Vincent Whitchurch's avatar Vincent Whitchurch Committed by Mark Brown

regulator: da9121: Use additionalProperties

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: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarVincent Whitchurch <vincent.whitchurch@axis.com>
Link: https://lore.kernel.org/r/20201109085438.16230-1-vincent.whitchurch@axis.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 1119c594
......@@ -22,7 +22,7 @@ properties:
$ref: "regulator.yaml#"
type: object
unevaluatedProperties: false
additionalProperties: false
required:
- compatible
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment