[2/7] Documentation: gpio: move sysfs into a deprecated section
Commit Message
The GPIO sysfs API is long deprecated, so highlight this even further
by moving it into a deprecated APIs section in both the admin-guide
and userspace-api books.
Signed-off-by: Kent Gibson <warthog618@gmail.com>
---
Documentation/admin-guide/gpio/deprecated.rst | 11 +++++++++++
Documentation/admin-guide/gpio/index.rst | 2 +-
Documentation/userspace-api/gpio/deprecated.rst | 10 ++++++++++
Documentation/userspace-api/gpio/index.rst | 1 +
.../{admin-guide => userspace-api}/gpio/sysfs.rst | 0
5 files changed, 23 insertions(+), 1 deletion(-)
create mode 100644 Documentation/admin-guide/gpio/deprecated.rst
create mode 100644 Documentation/userspace-api/gpio/deprecated.rst
rename Documentation/{admin-guide => userspace-api}/gpio/sysfs.rst (100%)
new file mode 100644
@@ -0,0 +1,11 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+====================
+Deprecated GPIO APIs
+====================
+
+.. toctree::
+ :maxdepth: 1
+
+ Sysfs Interface <../../userspace-api/gpio/sysfs>
+
@@ -9,9 +9,9 @@ gpio
Character Device Userspace API <../../userspace-api/gpio/chardev>
gpio-aggregator
- sysfs
gpio-mockup
gpio-sim
+ Deprecated APIs <deprecated>
.. only:: subproject and html
new file mode 100644
@@ -0,0 +1,10 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+==============================
+Deprecated GPIO Userspace APIs
+==============================
+
+.. toctree::
+ :maxdepth: 1
+
+ Sysfs Interface <sysfs>
@@ -8,6 +8,7 @@ GPIO
:maxdepth: 1
Character Device Userspace API <chardev>
+ Deprecated Userspace APIs <deprecated>
.. only:: subproject and html
similarity index 100%
rename from Documentation/admin-guide/gpio/sysfs.rst
rename to Documentation/userspace-api/gpio/sysfs.rst