mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-23 08:35:19 -05:00
tpm: cr50: fix kernel-doc warning and spelling
Fix kernel-doc notation to prevent a warning: tpm_tis_i2c_cr50.c:681: warning: Excess function parameter 'id' description in 'tpm_cr50_i2c_probe' and fix a spelling error reported by codespell. Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Peter Huewe <peterhuewe@gmx.de> Cc: Jarkko Sakkinen <jarkko@kernel.org> Cc: Jason Gunthorpe <jgg@ziepe.ca> Cc: linux-integrity@vger.kernel.org Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@kernel.org> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@kernel.org>
This commit is contained in:
parent
a4c7d794ac
commit
2b6fad7a90
1 changed files with 1 additions and 2 deletions
|
@ -235,7 +235,7 @@ out:
|
|||
* @len: Number of bytes to write.
|
||||
*
|
||||
* The provided address is prepended to the data in 'buffer', the
|
||||
* cobined address+data is sent to the TPM, then wait for TPM to
|
||||
* combined address+data is sent to the TPM, then wait for TPM to
|
||||
* indicate it is done writing.
|
||||
*
|
||||
* Return:
|
||||
|
@ -671,7 +671,6 @@ MODULE_DEVICE_TABLE(of, of_cr50_i2c_match);
|
|||
/**
|
||||
* tpm_cr50_i2c_probe() - Driver probe function.
|
||||
* @client: I2C client information.
|
||||
* @id: I2C device id.
|
||||
*
|
||||
* Return:
|
||||
* - 0: Success.
|
||||
|
|
Loading…
Add table
Reference in a new issue