hwmon: (ftsteutates): Rudimentary typo fixes
PATCH 1/1 hwmon: (ftsteutates): Rudimentary typo fixes
s/Temprature/Temperature/
s/revsion/revision/
Signed-off-by Bhaskar Chowdhury <[email protected]>
--- drivers/hwmon/ftsteutates.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/hwmon/ftsteutates.c +2 -2
@@ -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
Quoted 5 lines · Bhaskar Chowdhury
s/Temprature/Temperature/
s/revsion/revision/Signed-off-by Bhaskar Chowdhury <[email protected]>
Acked-by Randy Dunlap <[email protected]>
Quoted 27 lines
--- drivers/hwmon/ftsteutates.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/hwmon/ftsteutates.c +2
-3@@ -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 ; --
Signature · 1 line
~Randy
Guenter Roeck
maintainerQuoted 5 lines · Bhaskar Chowdhury
s/Temprature/Temperature/
s/revsion/revision/Signed-off-by Bhaskar Chowdhury <[email protected]>Acked-by Randy Dunlap <[email protected]>
Partially applied; a patch fixing the revsion typo was already queued.
Thanks,
Guenter
Quoted 29 lines
--- drivers/hwmon/ftsteutates.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)--
2.31.0drivers/hwmon/ftsteutates.c +2
-2@@ -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 ;