Message ID | 20210323043438.1321903-1-unixbhaskar@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | hwmon: (ftsteutates): Rudimentary typo fixes | expand |
On 3/22/21 9:34 PM, Bhaskar Chowdhury wrote: > > s/Temprature/Temperature/ > s/revsion/revision/ > > Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> > --- > 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; > --
On Tue, Mar 23, 2021 at 10:04:38AM +0530, Bhaskar Chowdhury wrote: > s/Temprature/Temperature/ > s/revsion/revision/ > > Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com> > Acked-by: Randy Dunlap <rdunlap@infradead.org> 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;
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;
s/Temprature/Temperature/ s/revsion/revision/ Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com> --- drivers/hwmon/ftsteutates.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.31.0