aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/driver-api
diff options
context:
space:
mode:
authorLuca Ceresoli <luca.ceresoli@bootlin.com>2023-12-01 14:10:43 +0100
committerJonathan Corbet <corbet@lwn.net>2023-12-08 15:35:35 -0700
commite57ddc6c80d2b39381f4476d99dab09825a8d584 (patch)
tree41eb12dd3339764efd1f1f322a84c23b0fcceb71 /Documentation/driver-api
parentdocs: nvmem: generate kernel-doc API documentation (diff)
downloadwireguard-linux-e57ddc6c80d2b39381f4476d99dab09825a8d584.tar.xz
wireguard-linux-e57ddc6c80d2b39381f4476d99dab09825a8d584.zip
docs: nvmem: remove function parameters (fixes hyperlink generation)
Adding a parameter is not particularly useful here, and it is definitely not done elsewhere. It also prevents the generation of a hyperlink to the kernel-doc documentation. Removing the parameter to enable hyperlinks and make the style coherent. Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/20231201-nvmem-docs-kerneldoc-v1-2-3e8f2b706ce6@bootlin.com
Diffstat (limited to 'Documentation/driver-api')
-rw-r--r--Documentation/driver-api/nvmem.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/driver-api/nvmem.rst b/Documentation/driver-api/nvmem.rst
index d5655b95c0f4..5d9500d21ecc 100644
--- a/Documentation/driver-api/nvmem.rst
+++ b/Documentation/driver-api/nvmem.rst
@@ -41,7 +41,7 @@ A NVMEM provider can register with NVMEM core by supplying relevant
nvmem configuration to nvmem_register(), on success core would return a valid
nvmem_device pointer.
-nvmem_unregister(nvmem) is used to unregister a previously registered provider.
+nvmem_unregister() is used to unregister a previously registered provider.
For example, a simple nvram case::