Commit d5166a49 authored by Randy Dunlap's avatar Randy Dunlap Committed by Jarkko Sakkinen

tpm/tpm_ftpm_tee: fix all kernel-doc warnings

Change @pdev to @dev in 2 places to match the function parameters.
Correct one function name in kernel-doc comment to match the function
implementation.

This prevents these warnings:

tpm_ftpm_tee.c:217: warning: Function parameter or struct member 'dev' not described in 'ftpm_tee_probe'
tpm_ftpm_tee.c:217: warning: Excess function parameter 'pdev' description in 'ftpm_tee_probe'
tpm_ftpm_tee.c:313: warning: Function parameter or struct member 'dev' not described in 'ftpm_tee_remove'
tpm_ftpm_tee.c:313: warning: Excess function parameter 'pdev' description in 'ftpm_tee_remove'
tpm_ftpm_tee.c:348: warning: expecting prototype for ftpm_tee_shutdown(). Prototype was for ftpm_plat_tee_shutdown() instead
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Reviewed-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
parent 045395d8
...@@ -208,7 +208,7 @@ static int ftpm_tee_match(struct tee_ioctl_version_data *ver, const void *data) ...@@ -208,7 +208,7 @@ static int ftpm_tee_match(struct tee_ioctl_version_data *ver, const void *data)
/** /**
* ftpm_tee_probe() - initialize the fTPM * ftpm_tee_probe() - initialize the fTPM
* @pdev: the platform_device description. * @dev: the device description.
* *
* Return: * Return:
* On success, 0. On failure, -errno. * On success, 0. On failure, -errno.
...@@ -304,7 +304,7 @@ static int ftpm_plat_tee_probe(struct platform_device *pdev) ...@@ -304,7 +304,7 @@ static int ftpm_plat_tee_probe(struct platform_device *pdev)
/** /**
* ftpm_tee_remove() - remove the TPM device * ftpm_tee_remove() - remove the TPM device
* @pdev: the platform_device description. * @dev: the device description.
* *
* Return: * Return:
* 0 always. * 0 always.
...@@ -341,7 +341,7 @@ static void ftpm_plat_tee_remove(struct platform_device *pdev) ...@@ -341,7 +341,7 @@ static void ftpm_plat_tee_remove(struct platform_device *pdev)
} }
/** /**
* ftpm_tee_shutdown() - shutdown the TPM device * ftpm_plat_tee_shutdown() - shutdown the TPM device
* @pdev: the platform_device description. * @pdev: the platform_device description.
*/ */
static void ftpm_plat_tee_shutdown(struct platform_device *pdev) static void ftpm_plat_tee_shutdown(struct platform_device *pdev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment