]> git.ipfire.org Git - thirdparty/linux.git/commit
tpm/tpm_ftpm_tee: fix all kernel-doc warnings
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 15 Jan 2024 19:24:47 +0000 (11:24 -0800)
committerJarkko Sakkinen <jarkko.sakkinen@iki.fi>
Mon, 11 Mar 2024 22:26:05 +0000 (00:26 +0200)
commitd5166a49508df7a60a1c437b7a33cd688f478055
tree58e273ea80d7e87b2f0183385a1bc02316df6b3e
parent045395d86acd02062b067bd325d4880391f2ce02
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: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
drivers/char/tpm/tpm_ftpm_tee.c