* [PATCH] docs: driver-api/gpio/driver.rst: fix code blocks
@ 2020-03-12 18:06 Stephen Kitt
2020-03-12 18:34 ` Jonathan Neuschäfer
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Kitt @ 2020-03-12 18:06 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski, Jonathan Corbet,
Daniel W . S . Almeida, linux-gpio, linux-doc
Cc: linux-kernel, Stephen Kitt
Two code blocks have duplicate declarations (:: and explicit
.. code-block), this fixes them, addressing these warnings:
Documentation/driver-api/gpio/driver.rst:425: WARNING: Unexpected indentation.
Documentation/driver-api/gpio/driver.rst:423: WARNING: Inline emphasis start-string without end-string.
Documentation/driver-api/gpio/driver.rst:427: WARNING: Block quote ends without a blank line; unexpected unindent.
Documentation/driver-api/gpio/driver.rst:429: WARNING: Inline emphasis start-string without end-string.
Documentation/driver-api/gpio/driver.rst:429: WARNING: Inline emphasis start-string without end-string.
Documentation/driver-api/gpio/driver.rst:429: WARNING: Inline emphasis start-string without end-string.
Documentation/driver-api/gpio/driver.rst:433: WARNING: Inline emphasis start-string without end-string.
Documentation/driver-api/gpio/driver.rst:446: WARNING: Unexpected indentation.
Documentation/driver-api/gpio/driver.rst:440: WARNING: Inline emphasis start-string without end-string.
Documentation/driver-api/gpio/driver.rst:440: WARNING: Inline emphasis start-string without end-string.
Documentation/driver-api/gpio/driver.rst:447: WARNING: Block quote ends without a blank line; unexpected unindent.
Documentation/driver-api/gpio/driver.rst:449: WARNING: Definition list ends without a blank line; unexpected unindent.
Documentation/driver-api/gpio/driver.rst:462: WARNING: Unexpected indentation.
Documentation/driver-api/gpio/driver.rst:460: WARNING: Inline emphasis start-string without end-string.
Documentation/driver-api/gpio/driver.rst:462: WARNING: Inline emphasis start-string without end-string.
Documentation/driver-api/gpio/driver.rst:465: WARNING: Block quote ends without a blank line; unexpected unindent.
Documentation/driver-api/gpio/driver.rst:467: WARNING: Inline emphasis start-string without end-string.
Documentation/driver-api/gpio/driver.rst:467: WARNING: Inline emphasis start-string without end-string.
Documentation/driver-api/gpio/driver.rst:467: WARNING: Inline emphasis start-string without end-string.
Documentation/driver-api/gpio/driver.rst:471: WARNING: Inline emphasis start-string without end-string.
Documentation/driver-api/gpio/driver.rst:478: WARNING: Inline emphasis start-string without end-string.
Fixes: 4e29b70d5437 ("Documentation: gpio: driver.rst: Fix warnings")
Signed-off-by: Stephen Kitt <steve@sk2.org>
---
Documentation/driver-api/gpio/driver.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/driver-api/gpio/driver.rst b/Documentation/driver-api/gpio/driver.rst
index 871922529332..9809f593c0ab 100644
--- a/Documentation/driver-api/gpio/driver.rst
+++ b/Documentation/driver-api/gpio/driver.rst
@@ -416,7 +416,7 @@ The preferred way to set up the helpers is to fill in the
struct gpio_irq_chip inside struct gpio_chip before adding the gpio_chip.
If you do this, the additional irq_chip will be set up by gpiolib at the
same time as setting up the rest of the GPIO functionality. The following
-is a typical example of a cascaded interrupt handler using gpio_irq_chip::
+is a typical example of a cascaded interrupt handler using gpio_irq_chip:
.. code-block:: c
@@ -453,7 +453,7 @@ is a typical example of a cascaded interrupt handler using gpio_irq_chip::
return devm_gpiochip_add_data(dev, &g->gc, g);
The helper support using hierarchical interrupt controllers as well.
-In this case the typical set-up will look like this::
+In this case the typical set-up will look like this:
.. code-block:: c
base-commit: 7d3d3254adaa61cba896f71497f56901deb618e5
--
2.24.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] docs: driver-api/gpio/driver.rst: fix code blocks
2020-03-12 18:06 [PATCH] docs: driver-api/gpio/driver.rst: fix code blocks Stephen Kitt
@ 2020-03-12 18:34 ` Jonathan Neuschäfer
2020-03-12 19:02 ` Stephen Kitt
0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Neuschäfer @ 2020-03-12 18:34 UTC (permalink / raw)
To: Stephen Kitt
Cc: Linus Walleij, Bartosz Golaszewski, Jonathan Corbet,
Daniel W . S . Almeida, linux-gpio, linux-doc, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 433 bytes --]
On Thu, Mar 12, 2020 at 07:06:51PM +0100, Stephen Kitt wrote:
> -is a typical example of a cascaded interrupt handler using gpio_irq_chip::
> +is a typical example of a cascaded interrupt handler using gpio_irq_chip:
Thanks for the patch, but Mauro already fixed it:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=c1c8b1ff0a1985d4992f49a5775bbcf6ee5ccfba
Cheers,
Jonathan Neuschäfer
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] docs: driver-api/gpio/driver.rst: fix code blocks
2020-03-12 18:34 ` Jonathan Neuschäfer
@ 2020-03-12 19:02 ` Stephen Kitt
0 siblings, 0 replies; 3+ messages in thread
From: Stephen Kitt @ 2020-03-12 19:02 UTC (permalink / raw)
To: Jonathan Neuschäfer
Cc: Linus Walleij, Bartosz Golaszewski, Jonathan Corbet,
Daniel W . S . Almeida, linux-gpio, linux-doc, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 587 bytes --]
On Thu, 12 Mar 2020 19:34:52 +0100, Jonathan Neuschäfer
<j.neuschaefer@gmx.net> wrote:
> On Thu, Mar 12, 2020 at 07:06:51PM +0100, Stephen Kitt wrote:
> > -is a typical example of a cascaded interrupt handler using
> > gpio_irq_chip:: +is a typical example of a cascaded interrupt handler
> > using gpio_irq_chip:
>
> Thanks for the patch, but Mauro already fixed it:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=c1c8b1ff0a1985d4992f49a5775bbcf6ee5ccfba
Ah, yes, I didn’t check linux-next, only docs-next.
Regards,
Stephen
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-03-12 19:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-12 18:06 [PATCH] docs: driver-api/gpio/driver.rst: fix code blocks Stephen Kitt
2020-03-12 18:34 ` Jonathan Neuschäfer
2020-03-12 19:02 ` Stephen Kitt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).