diff mbox series

dt-bindings: regulator: da9121: Use additionalProperties

Message ID 20201109085438.16230-1-vincent.whitchurch@axis.com
State Accepted
Commit 285654130d5c1bed000be6b94cd43b5110d16090
Headers show
Series dt-bindings: regulator: da9121: Use additionalProperties | expand

Commit Message

Vincent Whitchurch Nov. 9, 2020, 8:54 a.m. UTC
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(-)

Comments

Mark Brown Nov. 9, 2020, 5:09 p.m. UTC | #1
On Mon, Nov 09, 2020 at 09:54:37AM +0100, Vincent Whitchurch wrote:
> There's no $ref at the top level so use additionalProperties instead of
> unevaluatedProperties.

Please submit patches using subject lines reflecting the style for the
subsystem, this makes it easier for people to identify relevant patches.
Look at what existing commits in the area you're changing are doing and
make sure your subject lines visually resemble what they're doing.
There's no need to resubmit to fix this alone.
diff mbox series

Patch

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