Skip to content

Commit

Permalink
PCI: hotplug: Reorganize kerneldoc parameter names
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Julia Lawall authored and Bjorn Helgaas committed Sep 30, 2024
1 parent 9852d85 commit b21a18f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pci/hotplug/pci_hotplug_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b21a18f

Please sign in to comment.