dt-bindings: regulator: stub-regulator: fix dt_binding_check warning

make dt_binding_check outputs the following warning for the file
qcom,stub-regulator.yaml:

Documentation/devicetree/bindings/regulator/
qcom,stub-regulator.example.dtb:
  regulator-l1: 'regulator-max-microvolt', 'regulator-min-microvolt',
  'regulator-name' do not match any of the regexes: 'pinctrl-[0-9]+'

This occurs because both of these are specified:
 * allOf:
     - $ref: "regulator.yaml#"

 * additionalProperties: false

Fix this warning by switching the latter to:

  unevaluatedProperties: false

Change-Id: I5e0c9eb9e6a0638464db5d084bd008df357505d6
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
This commit is contained in:
David Collins
2023-08-03 15:01:30 -07:00
parent 9378b893fb
commit 33623ba803

View File

@@ -40,7 +40,7 @@ required:
- compatible
- regulator-name
additionalProperties: false
unevaluatedProperties: false
examples:
- |