regulator: Fix qcom,spmi-regulator schema
authorJean-Philippe Brucker <jean-philippe@linaro.org>
Wed, 31 Aug 2022 08:05:04 +0000 (09:05 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 31 Aug 2022 11:13:17 +0000 (12:13 +0100)
commit475043fabe8c58fb18c32c7942d8754897bd11fa
treeaaf403715a282068c4107e51dbea36d67658b676
parent78e1e867f44e6bdc72c0e6a2609a3407642fb30b
regulator: Fix qcom,spmi-regulator schema

The DT validator reports an error in the schema:

Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.yaml: ignoring, error in schema: patternProperties: ^(5vs[1-2]|(l|s)[1-9][0-9]?|lvs[1-3])$: properties

Move the unevaluatedProperties statement out of the properties section
to fix it.

Fixes: 0b3bbd7646b0 ("regulator: qcom,spmi-regulator: Convert to dtschema")
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Link: https://lore.kernel.org/r/20220831080503.17600-1-jean-philippe@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.yaml