Re: [PATCH] hwmon: (ftsteutates): Rudimentary typo fixes

2021-03-29 Thread Guenter Roeck
On Tue, Mar 23, 2021 at 10:04:38AM +0530, Bhaskar Chowdhury wrote:
> s/Temprature/Temperature/
> s/revsion/revision/
> 
> Signed-off-by: Bhaskar Chowdhury 
> Acked-by: Randy Dunlap 

Partially applied; a patch fixing the revsion typo was already queued.

Thanks,
Guenter

> ---
>  drivers/hwmon/ftsteutates.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> --
> 2.31.0
> 
> diff --git a/drivers/hwmon/ftsteutates.c b/drivers/hwmon/ftsteutates.c
> index ef88a156efc2..ceffc76a0c51 100644
> --- a/drivers/hwmon/ftsteutates.c
> +++ b/drivers/hwmon/ftsteutates.c
> @@ -509,7 +509,7 @@ fan_alarm_store(struct device *dev, struct 
> device_attribute *devattr,
>  /* SysFS structs  */
>  
> /*/
> 
> -/* Temprature sensors */
> +/* Temperature sensors */
>  static SENSOR_DEVICE_ATTR_RO(temp1_input, temp_value, 0);
>  static SENSOR_DEVICE_ATTR_RO(temp2_input, temp_value, 1);
>  static SENSOR_DEVICE_ATTR_RO(temp3_input, temp_value, 2);
> @@ -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;


Re: [PATCH] hwmon: (ftsteutates): Rudimentary typo fixes

2021-03-22 Thread Randy Dunlap
On 3/22/21 9:34 PM, Bhaskar Chowdhury wrote:
> 
> s/Temprature/Temperature/
> s/revsion/revision/
> 
> Signed-off-by: Bhaskar Chowdhury 

Acked-by: Randy Dunlap 

> ---
>  drivers/hwmon/ftsteutates.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/hwmon/ftsteutates.c b/drivers/hwmon/ftsteutates.c
> index ef88a156efc2..ceffc76a0c51 100644
> --- a/drivers/hwmon/ftsteutates.c
> +++ b/drivers/hwmon/ftsteutates.c
> @@ -509,7 +509,7 @@ fan_alarm_store(struct device *dev, struct 
> device_attribute *devattr,
>  /* SysFS structs  */
>  
> /*/
> 
> -/* Temprature sensors */
> +/* Temperature sensors */
>  static SENSOR_DEVICE_ATTR_RO(temp1_input, temp_value, 0);
>  static SENSOR_DEVICE_ATTR_RO(temp2_input, temp_value, 1);
>  static SENSOR_DEVICE_ATTR_RO(temp3_input, temp_value, 2);
> @@ -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;
> --


-- 
~Randy



[PATCH] hwmon: (ftsteutates): Rudimentary typo fixes

2021-03-22 Thread Bhaskar Chowdhury


s/Temprature/Temperature/
s/revsion/revision/

Signed-off-by: Bhaskar Chowdhury 
---
 drivers/hwmon/ftsteutates.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/hwmon/ftsteutates.c b/drivers/hwmon/ftsteutates.c
index ef88a156efc2..ceffc76a0c51 100644
--- a/drivers/hwmon/ftsteutates.c
+++ b/drivers/hwmon/ftsteutates.c
@@ -509,7 +509,7 @@ fan_alarm_store(struct device *dev, struct device_attribute 
*devattr,
 /* SysFS structs*/
 /*/

-/* Temprature sensors */
+/* Temperature sensors */
 static SENSOR_DEVICE_ATTR_RO(temp1_input, temp_value, 0);
 static SENSOR_DEVICE_ATTR_RO(temp2_input, temp_value, 1);
 static SENSOR_DEVICE_ATTR_RO(temp3_input, temp_value, 2);
@@ -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;
--
2.31.0