diff options
author | LABBE Corentin <clabbe.montjoie@gmail.com> | 2013-09-27 14:36:04 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-10-18 09:12:02 -0700 |
commit | 84fb029faa05e1de229a68829cca5dcf85c79894 (patch) | |
tree | 32bb882b06a9fa3143eb36ad8e4f61cbf90ab371 /drivers/hwmon/w83793.c | |
parent | c50588ababd85e164a97f114d79af267a6aef42a (diff) |
hwmon: Correct some typos
Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/w83793.c')
-rw-r--r-- | drivers/hwmon/w83793.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/w83793.c b/drivers/hwmon/w83793.c index b0c30a546ff2..b6470ecda8fc 100644 --- a/drivers/hwmon/w83793.c +++ b/drivers/hwmon/w83793.c @@ -808,7 +808,7 @@ show_sf_ctrl(struct device *dev, struct device_attribute *attr, char *buf) if (nr == TEMP_FAN_MAP) { val = data->temp_fan_map[index]; } else if (nr == TEMP_PWM_ENABLE) { - /* +2 to transfrom into 2 and 3 to conform with sysfs intf */ + /* +2 to transform into 2 and 3 to conform with sysfs intf */ val = ((data->pwm_enable >> index) & 0x01) + 2; } else if (nr == TEMP_CRUISE) { val = TEMP_FROM_REG(data->temp_cruise[index] & 0x7f); |