Skip to contentSkip to conversation

tpm: cr50: fix a kernel-doc warning

PATCH New Randy Dunlap 1 participant 1 message Dec 5, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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'

---
 drivers/char/tpm/tpm_tis_i2c_cr50.c |    1 -
 1 file changed, 1 deletion(-)
drivers/char/tpm/tpm_tis_i2c_cr50.c +0 -1
diff -- 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.