]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Documentation: gpio: move sysfs into an obsolete section
authorKent Gibson <warthog618@gmail.com>
Mon, 15 Jan 2024 00:48:42 +0000 (08:48 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 22 Jan 2024 09:49:06 +0000 (10:49 +0100)
The GPIO sysfs API is long obsolete, so highlight this even further
by moving it into an obsolete APIs section in both the admin-guide
and userspace-api books.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Documentation/admin-guide/gpio/index.rst
Documentation/admin-guide/gpio/obsolete.rst [new file with mode: 0644]
Documentation/userspace-api/gpio/index.rst
Documentation/userspace-api/gpio/obsolete.rst [new file with mode: 0644]
Documentation/userspace-api/gpio/sysfs.rst [moved from Documentation/admin-guide/gpio/sysfs.rst with 100% similarity]

index b40f0a2a6822a6c49f47167fcdd82f59dc19e520..3ac3aa15fa8b17b3af419125d7ce6e3f3e447f5b 100644 (file)
@@ -9,9 +9,9 @@ gpio
 
     Character Device Userspace API <../../userspace-api/gpio/chardev>
     gpio-aggregator
-    sysfs
     gpio-mockup
     gpio-sim
+    Obsolete APIs <obsolete>
 
 .. only::  subproject and html
 
diff --git a/Documentation/admin-guide/gpio/obsolete.rst b/Documentation/admin-guide/gpio/obsolete.rst
new file mode 100644 (file)
index 0000000..dbf88f1
--- /dev/null
@@ -0,0 +1,11 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+==================
+Obsolete GPIO APIs
+==================
+
+.. toctree::
+    :maxdepth: 1
+
+    Sysfs Interface <../../userspace-api/gpio/sysfs>
+
index 072b9fa18aea4b3c72c391b442ab4a91d93a2a90..f258de4ef370f7efe8d50eff87974d49ee3552ca 100644 (file)
@@ -8,6 +8,7 @@ GPIO
     :maxdepth: 1
 
     Character Device Userspace API <chardev>
+    Obsolete Userspace APIs <obsolete>
 
 .. only::  subproject and html
 
diff --git a/Documentation/userspace-api/gpio/obsolete.rst b/Documentation/userspace-api/gpio/obsolete.rst
new file mode 100644 (file)
index 0000000..c27bd60
--- /dev/null
@@ -0,0 +1,10 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+============================
+Obsolete GPIO Userspace APIs
+============================
+
+.. toctree::
+    :maxdepth: 1
+
+    Sysfs Interface <sysfs>