From 0a500b810e4aeaadbfff71fa5a0be57d01eb8926 Mon Sep 17 00:00:00 2001 From: Yang Li Date: Fri, 8 Mar 2024 15:32:14 +0800 Subject: [PATCH] ACPI: Document handle_eject_request() arguments Add argument descriptions to the handle_eject_request() kerneldoc comment. Signed-off-by: Yang Li Acked-by: Randy Dunlap [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki --- drivers/acpi/dock.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/acpi/dock.c b/drivers/acpi/dock.c index a89bdbe00184..a7c00ef78086 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.