Skip to content

Commit 0aa3ebf

Browse files
mchehabLinus Walleij
authored andcommitted
docs: gpio: driver.rst: fix a bad tag
With ReST, [foo]_ means a reference to foo, causing this warning: Documentation/driver-api/gpio/driver.rst:419: WARNING: Unknown target name: "devm". Fix it by using a literal for the name. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 8b74ae4 commit 0aa3ebf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Documentation/driver-api/gpio/driver.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ symbol:
418418

419419
If there is a need to exclude certain GPIO lines from the IRQ domain handled by
420420
these helpers, we can set .irq.need_valid_mask of the gpiochip before
421-
[devm_]gpiochip_add_data() is called. This allocates an .irq.valid_mask with as
421+
``[devm_]gpiochip_add_data()`` is called. This allocates an .irq.valid_mask with as
422422
many bits set as there are GPIO lines in the chip, each bit representing line
423423
0..n-1. Drivers can exclude GPIO lines by clearing bits from this mask. The mask
424424
must be filled in before gpiochip_irqchip_add() or gpiochip_irqchip_add_nested()

0 commit comments

Comments
 (0)