Commit 0a500b81 authored by Yang Li's avatar Yang Li Committed by Rafael J. Wysocki
Browse files

ACPI: Document handle_eject_request() arguments



Add argument descriptions to the handle_eject_request() kerneldoc
comment.

Signed-off-by: default avatarYang Li <yang.lee@linux.alibaba.com>
Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
[ rjw: Subject and changelog edits ]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 94344679
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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.