Skip to contentSkip to conversation

Changed double colon to single colon at the ends of two paragraphs preceding ".. code-block:: c".

PATCH In review [email protected] 2 participants 2 messages Mar 9, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Changed double colon to single colon at the ends of two paragraphs preceding ".. code-block:: c".

From: Peter Lister <[email protected]>

This makes the documentation build a little happier and removes "Unexpected indentation" warnings.

---
 Documentation/driver-api/gpio/driver.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/driver-api/gpio/driver.rst +2 -2
index 871922529332..9809f593c0ab 100644
@@ -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
 
Signature · 1 line
2.24.1
#1 lore raw

Hello Peter,

Documentation/driver-api/gpio/driver.rst The preferred way to set up the helpers is to fill in the · line 419

Quoted 2 lines · On Mon, Mar 09, 2020 at 12:04:21AM +0000, [email protected] wrote:
Documentation/driver-api/gpio/driver.rst +1 -1
-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:

Mauro has already fixed this in linux-next:

https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=c1c8b1ff0a1985d4992f49a5775bbcf6ee5ccfba

I'm sure there's still plenty of other stuff to fix, though!

Thanks,
Jonathan Neuschäfer