Commit 9d8c354a authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Paolo Abeni
Browse files

dt-bindings: net: Correct indentation and style in DTS example



DTS example in the bindings should be indented with 2- or 4-spaces and
aligned with opening '- |', so correct any differences like 3-spaces or
mixtures 2- and 4-spaces in one binding.

No functional changes here, but saves some comments during reviews of
new patches built on existing code.

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de> # for net/can
Reviewed-by: Roger Quadros <rogerq@kernel.org>	# for ti,k3-am654-*
Acked-by: Florian Fainelli <florian.fainelli@broadcom.com> # net/brcm,*
Reviewed-by: default avatarMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://patch.msgid.link/20250107125613.211478-1-krzysztof.kozlowski@linaro.org


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 33d97a07
Loading
Loading
Loading
Loading
+25 −25
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ unevaluatedProperties: false

examples:
  - |
    mdio_mux_iproc: mdio-mux@66020000 {
    mdio-mux@66020000 {
        compatible = "brcm,mdio-mux-iproc";
        reg = <0x66020000 0x250>;
        #address-cells = <1>;
@@ -49,7 +49,7 @@ examples:
            #address-cells = <1>;
            #size-cells = <0>;

           pci_phy0: pci-phy@0 {
            pci-phy@0 {
                compatible = "brcm,ns2-pcie-phy";
                reg = <0x0>;
                #phy-cells = <0>;
@@ -61,7 +61,7 @@ examples:
            #address-cells = <1>;
            #size-cells = <0>;

           pci_phy1: pci-phy@0 {
            pci-phy@0 {
                compatible = "brcm,ns2-pcie-phy";
                reg = <0x0>;
                #phy-cells = <0>;
@@ -73,7 +73,7 @@ examples:
            #address-cells = <1>;
            #size-cells = <0>;

           gphy0: eth-phy@10 {
            eth-phy@10 {
                reg = <0x10>;
            };
        };
+10 −10
Original line number Diff line number Diff line
@@ -302,7 +302,6 @@ examples:
                    ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
                };
            };
        };

            cpts@3d000 {
                compatible = "ti,am65-cpts";
@@ -315,3 +314,4 @@ examples:
                ti,cpts-periodic-outputs = <2>;
            };
        };
    };
+9 −10
Original line number Diff line number Diff line
@@ -90,4 +90,3 @@ examples:
            marvell,wakeup-pin = <3>;
        };
    };
+2 −2

File changed.

Contains only whitespace changes.

+16 −16

File changed.

Contains only whitespace changes.

+5 −5

File changed.

Contains only whitespace changes.

+9 −9

File changed.

Contains only whitespace changes.

+47 −47

File changed.

Contains only whitespace changes.

+5 −5

File changed.

Contains only whitespace changes.

+7 −7

File changed.

Contains only whitespace changes.

+19 −19

File changed.

Contains only whitespace changes.

Loading