linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] char: tpm: cr50: Fix tpm_cr50_i2c_probe() kernel-doc comment
@ 2022-03-17  1:19 Yang Li
  0 siblings, 0 replies; only message in thread
From: Yang Li @ 2022-03-17  1:19 UTC (permalink / raw)
  To: peterhuewe
  Cc: jarkko, jgg, linux-integrity, linux-kernel, Yang Li, Abaci Robot

Remove the description of @id in tpm_cr50_i2c_probe()
kernel-doc comment to remove warning found by running
scripts/kernel-doc, which is caused by using 'make W=1'.

drivers/char/tpm/tpm_tis_i2c_cr50.c:681: warning: Excess function
parameter 'id' description in 'tpm_cr50_i2c_probe'

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/char/tpm/tpm_tis_i2c_cr50.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/char/tpm/tpm_tis_i2c_cr50.c b/drivers/char/tpm/tpm_tis_i2c_cr50.c
index f6c0affbb456..d9bd58c3518e 100644
--- 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_match);
 /**
  * tpm_cr50_i2c_probe() - Driver probe function.
  * @client:	I2C client information.
- * @id:		I2C device id.
  *
  * Return:
  * - 0:		Success.
-- 
2.20.1.7.g153144c


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-17  1:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-17  1:19 [PATCH -next] char: tpm: cr50: Fix tpm_cr50_i2c_probe() kernel-doc comment Yang Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).