]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
platform/chrome: cros_ec_proto: Fix cros_ec_get_host_event_wake_mask kdoc
authorThomas Weißschuh <linux@weissschuh.net>
Fri, 24 May 2024 08:33:33 +0000 (10:33 +0200)
committerTzung-Bi Shih <tzungbi@kernel.org>
Mon, 27 May 2024 02:41:12 +0000 (02:41 +0000)
Mark the documentation block as kernel doc and drop the documentation of
the non-existing parameter "@msg".

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20240524-cros_ec-cmd_versions-v1-1-8a148647d051@weissschuh.net
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
drivers/platform/chrome/cros_ec_proto.c

index 945b1b15a04cae8356fc974d7e8800d50c836e37..0006a343964499d961b22cd6f10f8d4b30c62524 100644 (file)
@@ -239,13 +239,12 @@ int cros_ec_check_result(struct cros_ec_device *ec_dev,
 }
 EXPORT_SYMBOL(cros_ec_check_result);
 
-/*
+/**
  * cros_ec_get_host_event_wake_mask
  *
  * Get the mask of host events that cause wake from suspend.
  *
  * @ec_dev: EC device to call
- * @msg: message structure to use
  * @mask: result when function returns 0.
  *
  * LOCKING: