diff mbox series

[1/2] platform/chrome: cros_ec_proto: Fix cros_ec_get_host_event_wake_mask kdoc

Message ID 20240524-cros_ec-cmd_versions-v1-1-8a148647d051@weissschuh.net (mailing list archive)
State Accepted
Commit d1019a74e0f562c3c60d1bdcf73048bea0f1cb24
Headers show
Series platform/chrome: cros_ec_proto: Trivial kdoc fixes | expand

Commit Message

Thomas Weißschuh May 24, 2024, 8:33 a.m. UTC
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>
---
 drivers/platform/chrome/cros_ec_proto.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/platform/chrome/cros_ec_proto.c b/drivers/platform/chrome/cros_ec_proto.c
index 945b1b15a04c..0006a3439644 100644
--- a/drivers/platform/chrome/cros_ec_proto.c
+++ b/drivers/platform/chrome/cros_ec_proto.c
@@ -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: