[Linux-kernel-mentees] [PATCH] Driver-API: Documentation: Replace deprecated :c:func: Usage
willy at infradead.org
Mon Aug 10 18:44:13 UTC 2020
On Mon, Aug 10, 2020 at 11:51:07PM +0530, Puranjay Mohan wrote:
> Replace :c:func: with func() as the previous usage is deprecated.
Generally, reflowing text as part of these patches is discouraged,
but I'd make an exception here:
> @@ -135,15 +135,15 @@ Accessing Port Space
> Accesses to this space are provided through a set of functions which
> allow 8-bit, 16-bit and 32-bit accesses; also known as byte, word and
> -long. These functions are :c:func:`inb()`, :c:func:`inw()`,
> -:c:func:`inl()`, :c:func:`outb()`, :c:func:`outw()` and
> +long. These functions are inb(), inw(),
> +inl(), outb(), outw() and
+long. These functions are inb(), inw(), inl(), outb(), outw() and outl().
The others are more of a judgement call where we could go either way.
More information about the Linux-kernel-mentees