Re: [PATCH] hwmon: (ftsteutates): Rudimentary typo fixes
From: Guenter Roeck
Date: Mon Mar 29 2021 - 18:08:46 EST
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@xxxxxxxxx>
> Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
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;