From: Akash Sukhavasi Date: Thu, 21 May 2026 16:21:35 +0000 (-0500) Subject: dt-bindings: serial: rs485: remove deprecated .txt binding stub X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5aaaf31af7d61c20b283dba9e84faf0d10fb265b;p=thirdparty%2Flinux.git 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. Signed-off-by: Akash Sukhavasi Acked-by: Conor Dooley Link: https://patch.msgid.link/20260521162137.6325-1-akash.sukhavasi@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/Documentation/devicetree/bindings/serial/rs485.txt b/Documentation/devicetree/bindings/serial/rs485.txt deleted file mode 100644 index a7fe93efc4a50..0000000000000 --- a/Documentation/devicetree/bindings/serial/rs485.txt +++ /dev/null @@ -1 +0,0 @@ -See rs485.yaml diff --git a/Documentation/driver-api/serial/serial-rs485.rst b/Documentation/driver-api/serial/serial-rs485.rst index dce061ef76477..f53043d210715 100644 --- a/Documentation/driver-api/serial/serial-rs485.rst +++ b/Documentation/driver-api/serial/serial-rs485.rst @@ -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 diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c index 98ace5c492fa2..a530ad372b434 100644 --- a/drivers/tty/serial/serial_core.c +++ b/drivers/tty/serial/serial_core.c @@ -3511,7 +3511,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) {