Skip to content

Commit 2b6fad7

Browse files
rddunlapjarkkojs
authored andcommitted
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>
1 parent a4c7d79 commit 2b6fad7

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

drivers/char/tpm/tpm_tis_i2c_cr50.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ static int tpm_cr50_i2c_read(struct tpm_chip *chip, u8 addr, u8 *buffer, size_t
235235
* @len: Number of bytes to write.
236236
*
237237
* The provided address is prepended to the data in 'buffer', the
238-
* cobined address+data is sent to the TPM, then wait for TPM to
238+
* combined address+data is sent to the TPM, then wait for TPM to
239239
* indicate it is done writing.
240240
*
241241
* Return:
@@ -671,7 +671,6 @@ MODULE_DEVICE_TABLE(of, of_cr50_i2c_match);
671671
/**
672672
* tpm_cr50_i2c_probe() - Driver probe function.
673673
* @client: I2C client information.
674-
* @id: I2C device id.
675674
*
676675
* Return:
677676
* - 0: Success.

0 commit comments

Comments
 (0)