diff mbox series

[-next] ACPI: Add kernel-doc comments to handle_eject_request function

Message ID 20240308073214.11262-1-yang.lee@linux.alibaba.com
State New
Headers show
Series [-next] ACPI: Add kernel-doc comments to handle_eject_request function | expand

Commit Message

Yang Li March 8, 2024, 7:32 a.m. UTC
This patch adds proper kernel-doc comments to the
handle_eject_request function in the ACPI dock subsystem.

Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/acpi/dock.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Rafael J. Wysocki March 13, 2024, 8:03 p.m. UTC | #1
On Fri, Mar 8, 2024 at 8:32 AM Yang Li <yang.lee@linux.alibaba.com> wrote:
>
> This patch adds proper kernel-doc comments to the
> handle_eject_request function in the ACPI dock subsystem.
>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
>  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.
> --

Applied as 6.9-rc material with edits in the subject and changelog, thanks!
diff mbox series

Patch

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.