[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20231205230104.414-1-rdunlap@infradead.org>
Date: Tue, 5 Dec 2023 15:01:04 -0800
From: Randy Dunlap <rdunlap@...radead.org>
To: linux-kernel@...r.kernel.org
Cc: Randy Dunlap <rdunlap@...radead.org>,
Peter Huewe <peterhuewe@....de>,
Jarkko Sakkinen <jarkko@...nel.org>,
linux-integrity@...r.kernel.org
Subject: [PATCH] tpm: cr50: fix a kernel-doc warning
Dropn one function parameter line to prevent kernel-doc warnings.
tpm_tis_i2c_cr50.c:681: warning: Excess function parameter 'id' description in 'tpm_cr50_i2c_probe'
Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
Cc: Peter Huewe <peterhuewe@....de>
Cc: Jarkko Sakkinen <jarkko@...nel.org>
Cc: linux-integrity@...r.kernel.org
---
drivers/char/tpm/tpm_tis_i2c_cr50.c | 1 -
1 file changed, 1 deletion(-)
diff -- a/drivers/char/tpm/tpm_tis_i2c_cr50.c b/drivers/char/tpm/tpm_tis_i2c_cr50.c
--- a/drivers/char/tpm/tpm_tis_i2c_cr50.c
+++ b/drivers/char/tpm/tpm_tis_i2c_cr50.c
@@ -671,7 +671,6 @@ MODULE_DEVICE_TABLE(of, of_cr50_i2c_matc
/**
* tpm_cr50_i2c_probe() - Driver probe function.
* @client: I2C client information.
- * @id: I2C device id.
*
* Return:
* - 0: Success.
Powered by blists - more mailing lists