[PATCH 4/6] Documentation: tty: move moxa-smartio.rst to tty

From: Jiri Slaby
Date: Mon Apr 11 2022 - 07:02:04 EST


It is a tty_driver, not serial -- uart_driver. So move it to the tty
docs dir too. (The same as the driver itself.)

Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>
---
Documentation/driver-api/serial/index.rst | 1 -
Documentation/driver-api/tty/index.rst | 1 +
Documentation/driver-api/{serial => tty}/moxa-smartio.rst | 0
3 files changed, 1 insertion(+), 1 deletion(-)
rename Documentation/driver-api/{serial => tty}/moxa-smartio.rst (100%)

diff --git a/Documentation/driver-api/serial/index.rst b/Documentation/driver-api/serial/index.rst
index 4ebdb86cd6b6..03a55b987a1d 100644
--- a/Documentation/driver-api/serial/index.rst
+++ b/Documentation/driver-api/serial/index.rst
@@ -16,7 +16,6 @@ Serial drivers
.. toctree::
:maxdepth: 1

- moxa-smartio
serial-iso7816
serial-rs485

diff --git a/Documentation/driver-api/tty/index.rst b/Documentation/driver-api/tty/index.rst
index 85eaac76a971..2d32606a4278 100644
--- a/Documentation/driver-api/tty/index.rst
+++ b/Documentation/driver-api/tty/index.rst
@@ -68,5 +68,6 @@ Miscellaneous documentation can be further found in these documents:
.. toctree::
:maxdepth: 2

+ moxa-smartio
n_gsm
n_tty
diff --git a/Documentation/driver-api/serial/moxa-smartio.rst b/Documentation/driver-api/tty/moxa-smartio.rst
similarity index 100%
rename from Documentation/driver-api/serial/moxa-smartio.rst
rename to Documentation/driver-api/tty/moxa-smartio.rst
--
2.35.1