2021-03-04 12:56:17

by J. Neuschäfer

[permalink] [raw]
Subject: [PATCH] docs: driver-api: gpio: consumer: Mark another line of code as such

Make it so that this #include line is rendered in monospace, like other
code blocks.

Signed-off-by: Jonathan Neuschäfer <[email protected]>
---
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


2021-03-04 15:30:13

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH] docs: driver-api: gpio: consumer: Mark another line of code as such

On Wed, Mar 3, 2021 at 9:35 PM Jonathan Neuschäfer
<[email protected]> wrote:

> Make it so that this #include line is rendered in monospace, like other
> code blocks.
>
> Signed-off-by: Jonathan Neuschäfer <[email protected]>

Reviewed-by: Linus Walleij <[email protected]>

Yours,
Linus Walleij

2021-03-08 15:17:40

by Bartosz Golaszewski

[permalink] [raw]
Subject: Re: [PATCH] docs: driver-api: gpio: consumer: Mark another line of code as such

On Wed, Mar 3, 2021 at 9:43 PM Jonathan Neuschäfer
<[email protected]> wrote:
>
> Make it so that this #include line is rendered in monospace, like other
> code blocks.
>
> Signed-off-by: Jonathan Neuschäfer <[email protected]>
> ---
> 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