aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2024-03-08 15:32:14 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-03-13 21:02:33 +0100
commit0a500b810e4aeaadbfff71fa5a0be57d01eb8926 (patch)
tree31a6805d1d25e81217c025096ea6f3d8af2e47bb /drivers/acpi
parent943446795909929f261565cebafb3b56d66cc513 (diff)
downloadlinux-0a500b810e4aeaadbfff71fa5a0be57d01eb8926.tar.gz
ACPI: Document handle_eject_request() arguments
Add argument descriptions to the handle_eject_request() kerneldoc comment. Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/dock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/dock.c b/drivers/acpi/dock.c
index a89bdbe001844..a7c00ef78086c 100644
--- a/drivers/acpi/dock.c
+++ b/drivers/acpi/dock.c
@@ -380,6 +380,8 @@ static int dock_in_progress(struct dock_station *ds)
/**
* handle_eject_request - handle an undock request checking for error conditions
+ * @ds: The dock station to undock.
+ * @event: The ACPI event number associated with the undock request.
*
* Check to make sure the dock device is still present, then undock and
* hotremove all the devices that may need removing.