From: Jonathan Neuschäfer Date: Thu, 8 Mar 2018 23:40:18 +0000 (+0100) Subject: Documentation: driver-api: Move gpio.rst to gpio/index.rst X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7e6332592bbcdc446b4984efab78a6c471b14fa6;p=linux.git Documentation: driver-api: Move gpio.rst to gpio/index.rst To make space for more files in the GPIO section, create a Documentation/driver-api/gpio/ directory. Signed-off-by: Jonathan Neuschäfer Signed-off-by: Linus Walleij --- diff --git a/Documentation/driver-api/gpio.rst b/Documentation/driver-api/gpio.rst deleted file mode 100644 index 6dd4aa647f27d..0000000000000 --- a/Documentation/driver-api/gpio.rst +++ /dev/null @@ -1,45 +0,0 @@ -=================================== -General Purpose Input/Output (GPIO) -=================================== - -Core -==== - -.. kernel-doc:: include/linux/gpio/driver.h - :internal: - -.. kernel-doc:: drivers/gpio/gpiolib.c - :export: - -Legacy API -========== - -The functions listed in this section are deprecated. The GPIO descriptor based -API described above should be used in new code. - -.. kernel-doc:: drivers/gpio/gpiolib-legacy.c - :export: - -ACPI support -============ - -.. kernel-doc:: drivers/gpio/gpiolib-acpi.c - :export: - -Device tree support -=================== - -.. kernel-doc:: drivers/gpio/gpiolib-of.c - :export: - -Device-managed API -================== - -.. kernel-doc:: drivers/gpio/devres.c - :export: - -sysfs helpers -============= - -.. kernel-doc:: drivers/gpio/gpiolib-sysfs.c - :export: diff --git a/Documentation/driver-api/gpio/index.rst b/Documentation/driver-api/gpio/index.rst new file mode 100644 index 0000000000000..6dd4aa647f27d --- /dev/null +++ b/Documentation/driver-api/gpio/index.rst @@ -0,0 +1,45 @@ +=================================== +General Purpose Input/Output (GPIO) +=================================== + +Core +==== + +.. kernel-doc:: include/linux/gpio/driver.h + :internal: + +.. kernel-doc:: drivers/gpio/gpiolib.c + :export: + +Legacy API +========== + +The functions listed in this section are deprecated. The GPIO descriptor based +API described above should be used in new code. + +.. kernel-doc:: drivers/gpio/gpiolib-legacy.c + :export: + +ACPI support +============ + +.. kernel-doc:: drivers/gpio/gpiolib-acpi.c + :export: + +Device tree support +=================== + +.. kernel-doc:: drivers/gpio/gpiolib-of.c + :export: + +Device-managed API +================== + +.. kernel-doc:: drivers/gpio/devres.c + :export: + +sysfs helpers +============= + +.. kernel-doc:: drivers/gpio/gpiolib-sysfs.c + :export: diff --git a/Documentation/driver-api/index.rst b/Documentation/driver-api/index.rst index e9b41b1634f31..6d8352c0f3547 100644 --- a/Documentation/driver-api/index.rst +++ b/Documentation/driver-api/index.rst @@ -44,7 +44,7 @@ available subsections can be seen below. uio-howto firmware/index pinctl - gpio + gpio/index misc_devices dmaengine/index slimbus