]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
PCI: hotplug: Reorganize kerneldoc parameter names
authorJulia Lawall <Julia.Lawall@inria.fr>
Mon, 30 Sep 2024 11:21:08 +0000 (13:21 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 30 Sep 2024 16:42:17 +0000 (11:42 -0500)
Reorganize kerneldoc parameter names to match the parameter order in the
function header.

Problems identified using Coccinelle.

Link: https://lore.kernel.org/r/20240930112121.95324-23-Julia.Lawall@inria.fr
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/pci_hotplug_core.c

index 058d5937d8a9531b00dbbf576f290210352dfe34..db09d4992e6e2b50fccfb8f965127e41834f1a9a 100644 (file)
@@ -388,8 +388,8 @@ static struct hotplug_slot *get_slot_from_name(const char *name)
 
 /**
  * __pci_hp_register - register a hotplug_slot with the PCI hotplug subsystem
- * @bus: bus this slot is on
  * @slot: pointer to the &struct hotplug_slot to register
+ * @bus: bus this slot is on
  * @devnr: device number
  * @name: name registered with kobject core
  * @owner: caller module owner