From: Thomas Weißschuh Date: Fri, 24 May 2024 08:33:34 +0000 (+0200) Subject: platform/chrome: cros_ec_proto: Fix cros_ec_get_host_command_version_mask kdoc X-Git-Tag: v6.11-rc1~215^2~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c48a71a8877241e44cdc84f479ed57a9c1c62c15;p=thirdparty%2Fkernel%2Flinux.git platform/chrome: cros_ec_proto: Fix cros_ec_get_host_command_version_mask kdoc Mark the documentation block as kernel doc and drop the documentation of the non-existing parameter "@msg". Signed-off-by: Thomas Weißschuh Link: https://lore.kernel.org/r/20240524-cros_ec-cmd_versions-v1-2-8a148647d051@weissschuh.net Signed-off-by: Tzung-Bi Shih --- diff --git a/drivers/platform/chrome/cros_ec_proto.c b/drivers/platform/chrome/cros_ec_proto.c index 0006a34396449..dcfc18fe1cdf7 100644 --- a/drivers/platform/chrome/cros_ec_proto.c +++ b/drivers/platform/chrome/cros_ec_proto.c @@ -426,13 +426,12 @@ exit: 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. *