diff mbox series

[1/2] docs: driver-api: Move bt8xxgpio to the gpio directory

Message ID 20191004164059.10397-1-j.neuschaefer@gmx.net
State New
Headers show
Series [1/2] docs: driver-api: Move bt8xxgpio to the gpio directory | expand

Commit Message

Jonathan Neuschäfer Oct. 4, 2019, 4:40 p.m. UTC
Let's declutter Documentation/driver-api a bit.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---

Is this where we want to put documentation about specific GPIO
drivers/chips? Or perhaps under a subheading?
---
 Documentation/driver-api/{ => gpio}/bt8xxgpio.rst | 0
 Documentation/driver-api/gpio/index.rst           | 1 +
 Documentation/driver-api/index.rst                | 1 -
 drivers/gpio/Kconfig                              | 2 +-
 4 files changed, 2 insertions(+), 2 deletions(-)
 rename Documentation/driver-api/{ => gpio}/bt8xxgpio.rst (100%)

--
2.20.1

Comments

Linus Walleij Oct. 9, 2019, 9:12 a.m. UTC | #1
On Fri, Oct 4, 2019 at 6:41 PM Jonathan Neuschäfer
<j.neuschaefer@gmx.net> wrote:

> Let's declutter Documentation/driver-api a bit.
>
> Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>

Patch applied.

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/Documentation/driver-api/bt8xxgpio.rst b/Documentation/driver-api/gpio/bt8xxgpio.rst
similarity index 100%
rename from Documentation/driver-api/bt8xxgpio.rst
rename to Documentation/driver-api/gpio/bt8xxgpio.rst
diff --git a/Documentation/driver-api/gpio/index.rst b/Documentation/driver-api/gpio/index.rst
index c5b8467f9104..5b61032aa4ea 100644
--- a/Documentation/driver-api/gpio/index.rst
+++ b/Documentation/driver-api/gpio/index.rst
@@ -13,6 +13,7 @@  Contents:
    board
    drivers-on-gpio
    legacy
+   bt8xxgpio

 Core
 ====
diff --git a/Documentation/driver-api/index.rst b/Documentation/driver-api/index.rst
index 38e638abe3eb..2b3b6949381e 100644
--- a/Documentation/driver-api/index.rst
+++ b/Documentation/driver-api/index.rst
@@ -69,7 +69,6 @@  available subsections can be seen below.
    fpga/index
    acpi/index
    backlight/lp855x-driver.rst
-   bt8xxgpio
    connector
    console
    dcdbas
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 38e096e6925f..d96fb9923d30 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -1320,7 +1320,7 @@  config GPIO_BT8XX
 	  The card needs to be physically altered for using it as a
 	  GPIO card. For more information on how to build a GPIO card
 	  from a BT8xx TV card, see the documentation file at
-	  Documentation/driver-api/bt8xxgpio.rst
+	  Documentation/driver-api/gpio/bt8xxgpio.rst

 	  If unsure, say N.