diff mbox series

docs: driver-api: gpio: consumer: Mark another line of code as such

Message ID 20210303203444.3140677-1-j.neuschaefer@gmx.net
State Accepted
Commit 3fd19d4b565dafd690a262fa95d25927bc797e42
Headers show
Series docs: driver-api: gpio: consumer: Mark another line of code as such | expand

Commit Message

J. Neuschäfer March 3, 2021, 8:34 p.m. UTC
Make it so that this #include line is rendered in monospace, like other
code blocks.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---
 Documentation/driver-api/gpio/consumer.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
2.30.1

Comments

Linus Walleij March 4, 2021, 8:15 a.m. UTC | #1
On Wed, Mar 3, 2021 at 9:35 PM Jonathan Neuschäfer
<j.neuschaefer@gmx.net> wrote:

> Make it so that this #include line is rendered in monospace, like other

> code blocks.

>

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


Reviewed-by: Linus Walleij <linus.walleij@linaro.org>


Yours,
Linus Walleij
Bartosz Golaszewski March 8, 2021, 3:15 p.m. UTC | #2
On Wed, Mar 3, 2021 at 9:43 PM Jonathan Neuschäfer
<j.neuschaefer@gmx.net> wrote:
>

> Make it so that this #include line is rendered in monospace, like other

> code blocks.

>

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

> ---

>  Documentation/driver-api/gpio/consumer.rst | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

>

> diff --git a/Documentation/driver-api/gpio/consumer.rst b/Documentation/driver-api/gpio/consumer.rst

> index 22271c342d923..3366a991b4aa7 100644

> --- a/Documentation/driver-api/gpio/consumer.rst

> +++ b/Documentation/driver-api/gpio/consumer.rst

> @@ -12,7 +12,7 @@ Guidelines for GPIOs consumers

>

>  Drivers that can't work without standard GPIO calls should have Kconfig entries

>  that depend on GPIOLIB or select GPIOLIB. The functions that allow a driver to

> -obtain and use GPIOs are available by including the following file:

> +obtain and use GPIOs are available by including the following file::

>

>         #include <linux/gpio/consumer.h>

>

> --

> 2.30.1

>


Patch applied, thanks!

Bartosz
diff mbox series

Patch

diff --git a/Documentation/driver-api/gpio/consumer.rst b/Documentation/driver-api/gpio/consumer.rst
index 22271c342d923..3366a991b4aa7 100644
--- a/Documentation/driver-api/gpio/consumer.rst
+++ b/Documentation/driver-api/gpio/consumer.rst
@@ -12,7 +12,7 @@  Guidelines for GPIOs consumers

 Drivers that can't work without standard GPIO calls should have Kconfig entries
 that depend on GPIOLIB or select GPIOLIB. The functions that allow a driver to
-obtain and use GPIOs are available by including the following file:
+obtain and use GPIOs are available by including the following file::

 	#include <linux/gpio/consumer.h>