Skip to contentSkip to conversation

char: tpm: cr50: Fix tpm_cr50_i2c_probe() kernel-doc comment

PATCH New Yang Li 1 participant 1 message Mar 17, 2022

Subsystems (2)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 char: tpm: cr50: Fix tpm_cr50_i2c_probe() kernel-doc comment

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'

---
 drivers/char/tpm/tpm_tis_i2c_cr50.c | 1 -
 1 file changed, 1 deletion(-)
drivers/char/tpm/tpm_tis_i2c_cr50.c +0 -1
index f6c0affbb456..d9bd58c3518e 100644
@@ -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.
Signature · 1 line
2.20.1.7.g153144c