Skip to contentSkip to conversation

dt-bindings: serial: rs485: remove deprecated .txt binding stub

PATCH Superseded Akash Sukhavasi 2 participants 2 messages May 21

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

PATCH v2 1/1 dt-bindings: serial: rs485: remove deprecated .txt binding stub

The plain text binding file was superseded by the YAML schema in commit d50f974c4f7f ("dt-bindings: serial: Convert rs485 bindings to json-schema"). The file now contains only a redirect notice. Remove it, and update references in serial_core.c and serial-rs485.rst to point to the YAML schema.

---
Changes in v2:
- Update references in serial_core.c and serial-rs485.rst to point to rs485.yaml (Sashiko review).

v1: https://lore.kernel.org/all/[email protected]/

 Documentation/devicetree/bindings/serial/rs485.txt | 1 -
 Documentation/driver-api/serial/serial-rs485.rst   | 2 +-
 drivers/tty/serial/serial_core.c                   | 2 +-
 3 files changed, 2 insertions(+), 3 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/serial/rs485.txt
Documentation/devicetree/bindings/serial/rs485.txt deleted +0 -1
deleted file mode 100644
index a7fe93efc..000000000
@@ -1 +0,0 @@
-See rs485.yaml
Documentation/driver-api/serial/serial-rs485.rst +1 -1
index dce061ef7..f53043d21 100644
@@ -132,4 +132,4 @@ RS485 Serial Communications
 6. References
 =============
 
-.. [#DT-bindings]	Documentation/devicetree/bindings/serial/rs485.txt
+.. [#DT-bindings]	Documentation/devicetree/bindings/serial/rs485.yaml
drivers/tty/serial/serial_core.c +1 -1
index 89cebdd27..df4589880 100644
@@ -3496,7 +3496,7 @@ EXPORT_SYMBOL_GPL(uart_try_toggle_sysrq);
  * @port: uart device's target port
  *
  * This function implements the device tree binding described in
- * Documentation/devicetree/bindings/serial/rs485.txt.
+ * Documentation/devicetree/bindings/serial/rs485.yaml.
  */
 int uart_get_rs485_mode(struct uart_port *port)
 {
Signature · 1 line
2.54.0
Acked-by on v2 1/1
#1 lore raw
Quoted 7 lines · Akash Sukhavasi

The plain text binding file was superseded by the YAML schema in commit d50f974c4f7f ("dt-bindings: serial: Convert rs485 bindings to json-schema"). The file now contains only a redirect notice. Remove it, and update references in serial_core.c and serial-rs485.rst to point to the YAML schema.

Unless I am missing something about how docs.kernel.org redirects magically work or something along those lines,

pw-bot: not-applicable

Cheers,
Conor.

Quoted 46 lines

---
Changes in v2:
- Update references in serial_core.c and serial-rs485.rst to point to rs485.yaml (Sashiko review).

v1: https://lore.kernel.org/all/[email protected]/

 Documentation/devicetree/bindings/serial/rs485.txt | 1 -
 Documentation/driver-api/serial/serial-rs485.rst   | 2 +-
 drivers/tty/serial/serial_core.c                   | 2 +-
 3 files changed, 2 insertions(+), 3 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/serial/rs485.txt
Documentation/devicetree/bindings/serial/rs485.txt deleted +0 -1
deleted file mode 100644
index a7fe93efc..000000000
@@ -1 +0,0 @@
-See rs485.yaml
Documentation/driver-api/serial/serial-rs485.rst +1 -1
index dce061ef7..f53043d21 100644
@@ -132,4 +132,4 @@ RS485 Serial Communications
 6. References
 =============
 
-.. [#DT-bindings]	Documentation/devicetree/bindings/serial/rs485.txt
+.. [#DT-bindings]	Documentation/devicetree/bindings/serial/rs485.yaml
drivers/tty/serial/serial_core.c +1 -1
index 89cebdd27..df4589880 100644
@@ -3496,7 +3496,7 @@ EXPORT_SYMBOL_GPL(uart_try_toggle_sysrq);
  * @port: uart device's target port
  *
  * This function implements the device tree binding described in
- * Documentation/devicetree/bindings/serial/rs485.txt.
+ * Documentation/devicetree/bindings/serial/rs485.yaml.
  */
 int uart_get_rs485_mode(struct uart_port *port)
 {
Signature · 1 line
2.54.0