[1/2] regulator: dt-bindings: qcom,rpmh: clean up example indentation

Message ID 20221116102054.4673-2-johan+linaro@kernel.org
State New
Headers
Series arm64: dts: qcom: clean up 'regulator-allowed-modes' indentation |

Commit Message

Johan Hovold Nov. 16, 2022, 10:20 a.m. UTC
  Remove a line break and increase indentation of the continuation line
to avoid having the 'regulator-allowed-modes' example be reproduced
verbatim with four-spaces indentation (instead of a tab, which is still
too little) in devicetree sources.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
---
 .../bindings/regulator/qcom,rpmh-regulator.yaml        | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
  

Comments

Krzysztof Kozlowski Nov. 16, 2022, 12:38 p.m. UTC | #1
On 16/11/2022 11:20, Johan Hovold wrote:
> Remove a line break and increase indentation of the continuation line
> to avoid having the 'regulator-allowed-modes' example be reproduced
> verbatim with four-spaces indentation (instead of a tab, which is still
> too little) in devicetree sources.
> 
> Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
> ---


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
  

Patch

diff --git a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml
index 90c3bda31c23..7ff51b558702 100644
--- a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml
@@ -412,9 +412,8 @@  examples:
             regulator-min-microvolt = <1800000>;
             regulator-max-microvolt = <1800000>;
             regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
-            regulator-allowed-modes =
-                <RPMH_REGULATOR_MODE_LPM
-                 RPMH_REGULATOR_MODE_HPM>;
+            regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
+                                       RPMH_REGULATOR_MODE_HPM>;
             regulator-allow-set-load;
         };
 
@@ -431,9 +430,8 @@  examples:
         bob {
             regulator-min-microvolt = <3312000>;
             regulator-max-microvolt = <3600000>;
-            regulator-allowed-modes =
-                <RPMH_REGULATOR_MODE_AUTO
-                 RPMH_REGULATOR_MODE_HPM>;
+            regulator-allowed-modes = <RPMH_REGULATOR_MODE_AUTO
+                                       RPMH_REGULATOR_MODE_HPM>;
             regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
         };
     };