summaryrefslogtreecommitdiff
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorKirill Yatsenko <kiriyatsenko@gmail.com>2023-05-11 23:26:31 +0300
committerGuenter Roeck <linux@roeck-us.net>2023-06-08 16:41:18 +0300
commit0cb01ec31529096b6460290963bf78c9146d83b7 (patch)
tree44f5b0b57c5d88027864a3c0928926fd5f633a28 /drivers/hwmon
parent3b9da0422a7b597cfde3d9d7dfec0b5b065c4824 (diff)
downloadlinux-0cb01ec31529096b6460290963bf78c9146d83b7.tar.xz
hwmon: (aht10) Fix typos in comments
Fix typos in the description of the return value section of the functions. The word 'succesfull' is incorrect, it should be 'successful'. Signed-off-by: Kirill Yatsenko <kiriyatsenko@gmail.com> Link: https://lore.kernel.org/r/20230511202633.299174-1-kiriyatsenko@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/aht10.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/aht10.c b/drivers/hwmon/aht10.c
index 4ecc02315f8f..4ccf49c7cc8c 100644
--- a/drivers/hwmon/aht10.c
+++ b/drivers/hwmon/aht10.c
@@ -80,7 +80,7 @@ struct aht10_data {
/**
* aht10_init() - Initialize an AHT10 chip
* @data: the data associated with this AHT10 chip
- * Return: 0 if succesfull, 1 if not
+ * Return: 0 if successful, 1 if not
*/
static int aht10_init(struct aht10_data *data)
{
@@ -124,7 +124,7 @@ static int aht10_polltime_expired(struct aht10_data *data)
/**
* aht10_read_values() - read and parse the raw data from the AHT10
* @data: the struct aht10_data to use for the lock
- * Return: 0 if succesfull, 1 if not
+ * Return: 0 if successful, 1 if not
*/
static int aht10_read_values(struct aht10_data *data)
{