summaryrefslogtreecommitdiff
path: root/sound/pci
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@inria.fr>2024-09-30 14:20:50 +0300
committerTakashi Iwai <tiwai@suse.de>2024-09-30 17:02:08 +0300
commit8a193d8e351d185d75186bf0bdfa979e19d8fba8 (patch)
treecd890bc9475b333a0b03db1851d8933c14d70fc7 /sound/pci
parent05df9732a0894846c46d0062d4af535c5002799d (diff)
downloadlinux-8a193d8e351d185d75186bf0bdfa979e19d8fba8.tar.xz
ALSA: Reorganize kerneldoc parameter names
Reorganize kerneldoc parameter names to match the parameter order in the function header. Problems identified using Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Link: https://patch.msgid.link/20240930112121.95324-5-Julia.Lawall@inria.fr Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/hda/hda_codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index 3dd1bda0c5c6..14763c0f31ad 100644
--- a/sound/pci/hda/hda_codec.c
+++ b/sound/pci/hda/hda_codec.c
@@ -1734,9 +1734,9 @@ EXPORT_SYMBOL_GPL(snd_hda_ctl_add);
/**
* snd_hda_add_nid - Assign a NID to a control element
* @codec: HD-audio codec
- * @nid: corresponding NID (optional)
* @kctl: the control element to assign
* @index: index to kctl
+ * @nid: corresponding NID (optional)
*
* Add the given control element to an array inside the codec instance.
* This function is used when #snd_hda_ctl_add cannot be used for 1:1