diff mbox series

[2/2] platform/chrome: cros_ec_proto: Fix cros_ec_get_host_command_version_mask kdoc

Message ID 20240524-cros_ec-cmd_versions-v1-2-8a148647d051@weissschuh.net (mailing list archive)
State Accepted
Commit c48a71a8877241e44cdc84f479ed57a9c1c62c15
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 0006a3439644..dcfc18fe1cdf 100644
--- a/drivers/platform/chrome/cros_ec_proto.c
+++ b/drivers/platform/chrome/cros_ec_proto.c
@@ -426,13 +426,12 @@  static int cros_ec_get_proto_info_legacy(struct cros_ec_device *ec_dev)
 	return ret;
 }
 
-/*
+/**
  * cros_ec_get_host_command_version_mask
  *
  * Get the version mask of a given command.
  *
  * @ec_dev: EC device to call
- * @msg: message structure to use
  * @cmd: command to get the version of.
  * @mask: result when function returns 0.
  *