Skip to content

Commit 82efeb1

Browse files
Binbin ZhouJarkko Sakkinen
authored andcommitted
tpm/st33zp24: fix spelling mistake "drescription" -> "description"
Trivial fix, the spelling of "drescription" is incorrect in function comment. Fix this. Signed-off-by: Binbin Zhou <[email protected]> Acked-by: Jarkko Sakkinen <[email protected]> Signed-off-by: Jarkko Sakkinen <[email protected]>
1 parent ccf6fb8 commit 82efeb1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

drivers/char/tpm/st33zp24/i2c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ static int st33zp24_i2c_request_resources(struct i2c_client *client)
210210

211211
/*
212212
* st33zp24_i2c_probe initialize the TPM device
213-
* @param: client, the i2c_client drescription (TPM I2C description).
213+
* @param: client, the i2c_client description (TPM I2C description).
214214
* @param: id, the i2c_device_id struct.
215215
* @return: 0 in case of success.
216216
* -1 in other case.

drivers/char/tpm/st33zp24/spi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ static int st33zp24_spi_request_resources(struct spi_device *dev)
329329

330330
/*
331331
* st33zp24_spi_probe initialize the TPM device
332-
* @param: dev, the spi_device drescription (TPM SPI description).
332+
* @param: dev, the spi_device description (TPM SPI description).
333333
* @return: 0 in case of success.
334334
* or a negative value describing the error.
335335
*/
@@ -378,7 +378,7 @@ static int st33zp24_spi_probe(struct spi_device *dev)
378378

379379
/*
380380
* st33zp24_spi_remove remove the TPM device
381-
* @param: client, the spi_device drescription (TPM SPI description).
381+
* @param: client, the spi_device description (TPM SPI description).
382382
* @return: 0 in case of success.
383383
*/
384384
static int st33zp24_spi_remove(struct spi_device *dev)

drivers/char/tpm/st33zp24/st33zp24.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ static const struct tpm_class_ops st33zp24_tpm = {
502502

503503
/*
504504
* st33zp24_probe initialize the TPM device
505-
* @param: client, the i2c_client drescription (TPM I2C description).
505+
* @param: client, the i2c_client description (TPM I2C description).
506506
* @param: id, the i2c_device_id struct.
507507
* @return: 0 in case of success.
508508
* -1 in other case.

0 commit comments

Comments
 (0)