Skip to content

Commit

Permalink
tpm/st33zp24: fix spelling mistake "drescription" -> "description"
Browse files Browse the repository at this point in the history
Trivial fix, the spelling of "drescription" is incorrect
in function comment.

Fix this.

Signed-off-by: Binbin Zhou <zhoubinbin@uniontech.com>
Acked-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
  • Loading branch information
Binbin Zhou authored and Jarkko Sakkinen committed Jul 2, 2020
1 parent ccf6fb8 commit 82efeb1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion drivers/char/tpm/st33zp24/i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ static int st33zp24_i2c_request_resources(struct i2c_client *client)

/*
* st33zp24_i2c_probe initialize the TPM device
* @param: client, the i2c_client drescription (TPM I2C description).
* @param: client, the i2c_client description (TPM I2C description).
* @param: id, the i2c_device_id struct.
* @return: 0 in case of success.
* -1 in other case.
Expand Down
4 changes: 2 additions & 2 deletions drivers/char/tpm/st33zp24/spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ static int st33zp24_spi_request_resources(struct spi_device *dev)

/*
* st33zp24_spi_probe initialize the TPM device
* @param: dev, the spi_device drescription (TPM SPI description).
* @param: dev, the spi_device description (TPM SPI description).
* @return: 0 in case of success.
* or a negative value describing the error.
*/
Expand Down Expand Up @@ -378,7 +378,7 @@ static int st33zp24_spi_probe(struct spi_device *dev)

/*
* st33zp24_spi_remove remove the TPM device
* @param: client, the spi_device drescription (TPM SPI description).
* @param: client, the spi_device description (TPM SPI description).
* @return: 0 in case of success.
*/
static int st33zp24_spi_remove(struct spi_device *dev)
Expand Down
2 changes: 1 addition & 1 deletion drivers/char/tpm/st33zp24/st33zp24.c
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ static const struct tpm_class_ops st33zp24_tpm = {

/*
* st33zp24_probe initialize the TPM device
* @param: client, the i2c_client drescription (TPM I2C description).
* @param: client, the i2c_client description (TPM I2C description).
* @param: id, the i2c_device_id struct.
* @return: 0 in case of success.
* -1 in other case.
Expand Down

0 comments on commit 82efeb1

Please sign in to comment.