Skip to contentSkip to conversation

dt-bindings: net: mdio: remove deprecated .txt binding stub

PATCH In review Akash Sukhavasi 2 participants 3 messages May 21 – May 23

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

PATCH 1/1 dt-bindings: net: mdio: remove deprecated .txt binding stub

The plain text binding file was superseded by the YAML schema in commit 62d77ff7ecbf ("dt-bindings: net: Add a YAML schemas for the generic MDIO options"). The file now contains only a redirect notice. Remove it.

---
 Documentation/devicetree/bindings/net/mdio.txt | 1 -
 1 file changed, 1 deletion(-)
 delete mode 100644 Documentation/devicetree/bindings/net/mdio.txt
Documentation/devicetree/bindings/net/mdio.txt deleted +0 -1
deleted file mode 100644
index cf8a01054..000000000
@@ -1 +0,0 @@
-This file has moved to mdio.yaml.
Signature · 1 line
2.54.0
#1 lore raw
Quoted 4 lines · Akash Sukhavasi

The plain text binding file was superseded by the YAML schema in commit 62d77ff7ecbf ("dt-bindings: net: Add a YAML schemas for the generic MDIO options"). The file now contains only a redirect notice. Remove it.

Why removing it? The file was left on purpose why converting, so you should provide reasons why now it is worth to remove it.

Don't do such patches one by one.

Best regards,
Krzysztof

#2 lore raw
Quoted 2 lines · Krzysztof Kozlowski

Why removing it? The file was left on purpose why converting, so you should provide reasons why now it is worth to remove it.

The file is a single line redirect, untouched since 2019. No files in the tree refer to mdio.txt, and all existing references already point to mdio.yaml exclusively. The redirect no longer serves a practical purpose. Sending v2 with this justification in the commit message.

Quoted 1 line

Don't do such patches one by one.

Noted. I'll batch any similar cleanups into a series going forward, and make sure commit messages clearly cover the what, why, and how.

Thanks,
Akash