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

Thomas Weißschuh posted 2 patches 1 year, 8 months ago
[PATCH 2/2] platform/chrome: cros_ec_proto: Fix cros_ec_get_host_command_version_mask kdoc
Posted by Thomas Weißschuh 1 year, 8 months ago
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 --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.
  *

-- 
2.45.1