aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm/st33zp24/spi.c
diff options
context:
space:
mode:
authorBinbin Zhou <zhoubinbin@uniontech.com>2020-06-17 09:00:38 +0800
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2020-07-02 17:49:00 +0300
commit82efeb161c090072ab493ab8c8f8a551727f586e (patch)
tree40583a58287cbe2d7ff2cb29b4843599c78363ea /drivers/char/tpm/st33zp24/spi.c
parenttpm_tis: extra chip->ops check on error path in tpm_tis_core_init (diff)
downloadlinux-dev-82efeb161c090072ab493ab8c8f8a551727f586e.tar.xz
linux-dev-82efeb161c090072ab493ab8c8f8a551727f586e.zip
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 <zhoubinbin@uniontech.com> Acked-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'drivers/char/tpm/st33zp24/spi.c')
-rw-r--r--drivers/char/tpm/st33zp24/spi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/tpm/st33zp24/spi.c b/drivers/char/tpm/st33zp24/spi.c
index 26e09de50f1e..a75dafd39445 100644
--- a/drivers/char/tpm/st33zp24/spi.c
+++ b/drivers/char/tpm/st33zp24/spi.c
@@ -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.
*/
@@ -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)