Skip to contentSkip to conversation

dt-bindings: net: litex,liteeth: Correct example indentation

PATCH Applied Krzysztof Kozlowski 3 participants 5 messages Aug 21, 2025 – Aug 25, 2025

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 dt-bindings: net: litex,liteeth: Correct example indentation

DTS example in the bindings should be indented with 2- or 4-spaces, so correct a mixture of different styles to keep consistent 4-spaces.

---
 .../devicetree/bindings/net/litex,liteeth.yaml         | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
Documentation/devicetree/bindings/net/litex,liteeth.yaml +5 -5
index ebf4e360f8dd..bbb71556ec9e 100644
@@ -86,12 +86,12 @@ examples:
         phy-handle = <&eth_phy>;
 
         mdio {
-          #address-cells = <1>;
-          #size-cells = <0>;
+            #address-cells = <1>;
+            #size-cells = <0>;
 
-          eth_phy: ethernet-phy@0 {
-            reg = <0>;
-          };
+            eth_phy: ethernet-phy@0 {
+                reg = <0>;
+            };
         };
     };
 ...
Signature · 1 line
2.48.1
#1 lore raw

PATCH 2/2 dt-bindings: net: Drop vim style annotation

Bindings files should not carry markings of editor setup, so drop vim style annotation. No functional impact.

---
 Documentation/devicetree/bindings/net/litex,liteeth.yaml        | 2 --
 .../devicetree/bindings/net/microchip,sparx5-switch.yaml        | 1 -
 2 files changed, 3 deletions(-)
Documentation/devicetree/bindings/net/litex,liteeth.yaml +0 -2
index bbb71556ec9e..200b198b0d9b 100644
@@ -95,5 +95,3 @@ examples:
         };
     };
 ...
-
-#  vim: set ts=2 sw=2 sts=2 tw=80 et cc=80 ft=yaml :
Documentation/devicetree/bindings/net/microchip,sparx5-switch.yaml +0 -1
index a73fc5036905..082982c59a55 100644
@@ -245,4 +245,3 @@ examples:
     };
 
 ...
-#  vim: set ts=2 sw=2 sts=2 tw=80 et cc=80 ft=yaml :
Signature · 1 line
2.48.1
Acked-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] dt-bindings: net: Drop vim style annotation

Quoted 4 lines · Krzysztof Kozlowski

Bindings files should not carry markings of editor setup, so drop vim style annotation. No functional impact.

Thanks,
--Gabriel

Quoted 27 lines
---
 Documentation/devicetree/bindings/net/litex,liteeth.yaml        | 2 --
 .../devicetree/bindings/net/microchip,sparx5-switch.yaml        | 1 -
 2 files changed, 3 deletions(-)
Documentation/devicetree/bindings/net/litex,liteeth.yaml +0 -2
index bbb71556ec9e..200b198b0d9b 100644
@@ -95,5 +95,3 @@ examples:
         };
     };
...
-
-#  vim: set ts=2 sw=2 sts=2 tw=80 et cc=80 ft=yaml :
Documentation/devicetree/bindings/net/microchip,sparx5-switch.yaml +0 -1
index a73fc5036905..082982c59a55 100644
@@ -245,4 +245,3 @@ examples:
     };
 
...
-#  vim: set ts=2 sw=2 sts=2 tw=80 et cc=80 ft=yaml :
Signature · 1 line
2.48.1
Acked-by on v1 1/2
#3 lore raw
In reply to Krzysztof Kozlowski
Quoted 4 lines · Krzysztof Kozlowski

DTS example in the bindings should be indented with 2- or 4-spaces, so correct a mixture of different styles to keep consistent 4-spaces.

Thanks,
--Gabriel

Quoted 29 lines
---
 .../devicetree/bindings/net/litex,liteeth.yaml         | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
Documentation/devicetree/bindings/net/litex,liteeth.yaml +5 -5
index ebf4e360f8dd..bbb71556ec9e 100644
@@ -86,12 +86,12 @@ examples:
         phy-handle = <&eth_phy>;
 
         mdio {
-          #address-cells = <1>;
-          #size-cells = <0>;
+            #address-cells = <1>;
+            #size-cells = <0>;
 
-          eth_phy: ethernet-phy@0 {
-            reg = <0>;
-          };
+            eth_phy: ethernet-phy@0 {
+                reg = <0>;
+            };
         };
     };
...
Signature · 1 line
2.48.1
#4 lore raw
In reply to Krzysztof Kozlowski
This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 7 lines · On Thu, 21 Aug 2025 10:30:39 +0200 you wrote:

DTS example in the bindings should be indented with 2- or 4-spaces, so correct a mixture of different styles to keep consistent 4-spaces.

---
 .../devicetree/bindings/net/litex,liteeth.yaml         | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Here is the summary with links:
- [1/2] dt-bindings: net: litex,liteeth: Correct example indentation

    https://git.kernel.org/netdev/net-next/c/bc2741b032f8
  - [2/2] dt-bindings: net: Drop vim style annotation
    https://git.kernel.org/netdev/net-next/c/7f052126ff38

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html