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

From: Randy Dunlap
Date: Tue Mar 23 2021 - 01:46:09 EST


On 3/22/21 9:34 PM, Bhaskar Chowdhury wrote:
>
> s/Temprature/Temperature/
> s/revsion/revision/
>
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@xxxxxxxxx>

Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

> ---
> 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