mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: regulator: da9121: Use additionalProperties
@ 2020-11-09  8:54 Vincent Whitchurch
  2020-11-09 17:09 ` Mark Brown
  2020-11-09 19:47 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Vincent Whitchurch @ 2020-11-09  8:54 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Rob Herring, Vincent Whitchurch
  Cc: kernel, linux-kernel, devicetree

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>
---
 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-09 19:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-09  8:54 [PATCH] dt-bindings: regulator: da9121: Use additionalProperties Vincent Whitchurch
2020-11-09 17:09 ` Mark Brown
2020-11-09 19:47 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®