]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: regulator: qcom,usb-vbus-regulator: clean up example
authorJohan Hovold <johan+linaro@kernel.org>
Tue, 19 Dec 2023 07:57:49 +0000 (08:57 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 19 Dec 2023 13:23:58 +0000 (13:23 +0000)
Devicetree node names should be generic; fix up the
qcom,usb-vbus-regulator binding example accordingly.

While at it, drop an unnecessary label and add a newline separator
before the child node to improve readability.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://msgid.link/r/20231219075749.25308-1-johan+linaro@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml

index 89c564dfa5db5a93acaa8ac3b013acd564cd5202..534f87e98716301478c108b5971810b449620d77 100644 (file)
@@ -36,10 +36,11 @@ unevaluatedProperties: false
 
 examples:
   - |
-     pm8150b {
+     pmic {
         #address-cells = <1>;
         #size-cells = <0>;
-        pm8150b_vbus: usb-vbus-regulator@1100 {
+
+        usb-vbus-regulator@1100 {
             compatible = "qcom,pm8150b-vbus-reg";
             reg = <0x1100>;
             regulator-min-microamp = <500000>;