diff mbox series

dt-bindings: regulator: da9121: Use additionalProperties

Message ID 20201109085438.16230-1-vincent.whitchurch@axis.com
State Not Applicable, archived
Headers show
Series dt-bindings: regulator: da9121: Use additionalProperties | expand

Checks

Context Check Description
robh/checkpatch success

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.
Mark Brown Nov. 9, 2020, 7:47 p.m. UTC | #2
On Mon, 9 Nov 2020 09:54:37 +0100, Vincent Whitchurch wrote:
> 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

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next

Thanks!

[1/1] regulator: da9121: Use additionalProperties
      commit: 285654130d5c1bed000be6b94cd43b5110d16090

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
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