hwmon: Fix spelling typo
diff mbox series

Message ID 20210318124637.1331-1-zuoqilin1@163.com
State Accepted
Commit 23bc3caf42bd0f140182ba60cc68d7872e81aeea
Headers show
Series
  • hwmon: Fix spelling typo
Related show

Commit Message

Zuo Qi Lin March 18, 2021, 12:46 p.m. UTC
From: zuoqilin <zuoqilin@yulong.com>

Change 'revsion' to 'revision'.

Signed-off-by: zuoqilin <zuoqilin@yulong.com>
---
 drivers/hwmon/ftsteutates.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Guenter Roeck March 18, 2021, 7:03 p.m. UTC | #1
On Thu, Mar 18, 2021 at 08:46:37PM +0800, zuoqilin1@163.com wrote:
> From: zuoqilin <zuoqilin@yulong.com>
> 
> Change 'revsion' to 'revision'.
> 
> Signed-off-by: zuoqilin <zuoqilin@yulong.com>

Applied. In the future also please list the affected driver
in the subject line.

Thanks,
Guenter

> ---
>  drivers/hwmon/ftsteutates.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/hwmon/ftsteutates.c b/drivers/hwmon/ftsteutates.c
> index ef88a15..e87aa00 100644
> --- a/drivers/hwmon/ftsteutates.c
> +++ b/drivers/hwmon/ftsteutates.c
> @@ -713,7 +713,7 @@ static int fts_detect(struct i2c_client *client,
>  {
>  	int val;
>  
> -	/* detection works with revsion greater or equal to 0x2b */
> +	/* detection works with revision greater or equal to 0x2b */
>  	val = i2c_smbus_read_byte_data(client, FTS_DEVICE_REVISION_REG);
>  	if (val < 0x2b)
>  		return -ENODEV;

Patch
diff mbox series

diff --git a/drivers/hwmon/ftsteutates.c b/drivers/hwmon/ftsteutates.c
index ef88a15..e87aa00 100644
--- a/drivers/hwmon/ftsteutates.c
+++ b/drivers/hwmon/ftsteutates.c
@@ -713,7 +713,7 @@  static int fts_detect(struct i2c_client *client,
 {
 	int val;
 
-	/* detection works with revsion greater or equal to 0x2b */
+	/* detection works with revision greater or equal to 0x2b */
 	val = i2c_smbus_read_byte_data(client, FTS_DEVICE_REVISION_REG);
 	if (val < 0x2b)
 		return -ENODEV;