dt-bindings: serial: rs485: remove deprecated .txt binding stub
Subsystems (3)
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
@@ -1 +0,0 @@ -See rs485.yaml
Documentation/driver-api/serial/serial-rs485.rst +1 -1
@@ -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
@@ -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
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 inserial_core.candserial-rs485.rstto point to the YAML schema.Signed-off-by Akash Sukhavasi <[email protected]>
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 inserial_core.candserial-rs485.rstto point tors485.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.txtDocumentation/devicetree/bindings/serial/rs485.txt deleted +0
-1@@ -1 +0,0 @@ -See rs485.yamlDocumentation/driver-api/serial/serial-rs485.rst +1
-1@@ -132,4 +132,4 @@ RS485 Serial Communications 6. References ============= -.. [#DT-bindings] Documentation/devicetree/bindings/serial/rs485.txt +.. [#DT-bindings] Documentation/devicetree/bindings/serial/rs485.yamldrivers/tty/serial/serial_core.c +1
-1@@ -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