]> xenbits.xensource.com Git - people/aperard/linux.git/commitdiff
ACPI: Document handle_eject_request() arguments
authorYang Li <yang.lee@linux.alibaba.com>
Fri, 8 Mar 2024 07:32:14 +0000 (15:32 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 13 Mar 2024 20:02:33 +0000 (21:02 +0100)
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>
drivers/acpi/dock.c

index a89bdbe0018442f0c7d57dc6d920f078c4078128..a7c00ef78086cf17a9ce72eae63b23a2b93e5b55 100644 (file)
@@ -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.