Skip to content

Commit 0f83aaa

Browse files
neuschaeferJonathan Corbet
authored andcommitted
genericirq.rst: Remove :c:func:... in code blocks
In code blocks, :c:func:`...` annotations don't result in cross-references. Instead, they are rendered verbatim. Remove these broken annotations, and mark function calls with parentheses() again. Fixes: 76d40fa ("genericirq.rst: add cross-reference links and use monospaced fonts") Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
1 parent e50806a commit 0f83aaa

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

‎Documentation/core-api/genericirq.rst‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,9 @@ interrupts.
225225

226226
The following control flow is implemented (simplified excerpt)::
227227

228-
:c:func:`desc->irq_data.chip->irq_mask_ack`;
228+
desc->irq_data.chip->irq_mask_ack();
229229
handle_irq_event(desc->action);
230-
:c:func:`desc->irq_data.chip->irq_unmask`;
230+
desc->irq_data.chip->irq_unmask();
231231

232232

233233
Default Fast EOI IRQ flow handler
@@ -239,7 +239,7 @@ which only need an EOI at the end of the handler.
239239
The following control flow is implemented (simplified excerpt)::
240240

241241
handle_irq_event(desc->action);
242-
:c:func:`desc->irq_data.chip->irq_eoi`;
242+
desc->irq_data.chip->irq_eoi();
243243

244244

245245
Default Edge IRQ flow handler
@@ -251,15 +251,15 @@ interrupts.
251251
The following control flow is implemented (simplified excerpt)::
252252

253253
if (desc->status & running) {
254-
:c:func:`desc->irq_data.chip->irq_mask_ack`;
254+
desc->irq_data.chip->irq_mask_ack();
255255
desc->status |= pending | masked;
256256
return;
257257
}
258-
:c:func:`desc->irq_data.chip->irq_ack`;
258+
desc->irq_data.chip->irq_ack();
259259
desc->status |= running;
260260
do {
261261
if (desc->status & masked)
262-
:c:func:`desc->irq_data.chip->irq_unmask`;
262+
desc->irq_data.chip->irq_unmask();
263263
desc->status &= ~pending;
264264
handle_irq_event(desc->action);
265265
} while (status & pending);
@@ -293,10 +293,10 @@ simplified version without locking.
293293
The following control flow is implemented (simplified excerpt)::
294294

295295
if (desc->irq_data.chip->irq_ack)
296-
:c:func:`desc->irq_data.chip->irq_ack`;
296+
desc->irq_data.chip->irq_ack();
297297
handle_irq_event(desc->action);
298298
if (desc->irq_data.chip->irq_eoi)
299-
:c:func:`desc->irq_data.chip->irq_eoi`;
299+
desc->irq_data.chip->irq_eoi();
300300

301301

302302
EOI Edge IRQ flow handler

0 commit comments

Comments
 (0)