diff options
author | LABBE Corentin <clabbe.montjoie@gmail.com> | 2013-09-27 08:36:04 -0400 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-10-18 12:12:02 -0400 |
commit | 84fb029faa05e1de229a68829cca5dcf85c79894 (patch) | |
tree | 32bb882b06a9fa3143eb36ad8e4f61cbf90ab371 | |
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>
-rw-r--r-- | drivers/hwmon/abituguru.c | 6 | ||||
-rw-r--r-- | drivers/hwmon/abituguru3.c | 2 | ||||
-rw-r--r-- | drivers/hwmon/asus_atk0110.c | 2 | ||||
-rw-r--r-- | drivers/hwmon/max6650.c | 2 | ||||
-rw-r--r-- | drivers/hwmon/pmbus/pmbus_core.c | 2 | ||||
-rw-r--r-- | drivers/hwmon/w83791d.c | 2 | ||||
-rw-r--r-- | drivers/hwmon/w83792d.c | 2 | ||||
-rw-r--r-- | drivers/hwmon/w83793.c | 2 |
8 files changed, 10 insertions, 10 deletions
diff --git a/drivers/hwmon/abituguru.c b/drivers/hwmon/abituguru.c index 2ebd6ce46108..9c8a6bab8228 100644 --- a/drivers/hwmon/abituguru.c +++ b/drivers/hwmon/abituguru.c | |||
@@ -164,7 +164,7 @@ static const u8 abituguru_bank2_max_threshold = 50; | |||
164 | static const int abituguru_pwm_settings_multiplier[5] = { 0, 1, 1, 1000, 1000 }; | 164 | static const int abituguru_pwm_settings_multiplier[5] = { 0, 1, 1, 1000, 1000 }; |
165 | /* | 165 | /* |
166 | * Min / Max allowed values for pwm_settings. Note: pwm1 (CPU fan) is a | 166 | * Min / Max allowed values for pwm_settings. Note: pwm1 (CPU fan) is a |
167 | * special case the minium allowed pwm% setting for this is 30% (77) on | 167 | * special case the minimum allowed pwm% setting for this is 30% (77) on |
168 | * some MB's this special case is handled in the code! | 168 | * some MB's this special case is handled in the code! |
169 | */ | 169 | */ |
170 | static const u8 abituguru_pwm_min[5] = { 0, 170, 170, 25, 25 }; | 170 | static const u8 abituguru_pwm_min[5] = { 0, 170, 170, 25, 25 }; |
@@ -517,7 +517,7 @@ abituguru_detect_bank1_sensor_type(struct abituguru_data *data, | |||
517 | 517 | ||
518 | ABIT_UGURU_DEBUG(2, "testing bank1 sensor %d\n", (int)sensor_addr); | 518 | ABIT_UGURU_DEBUG(2, "testing bank1 sensor %d\n", (int)sensor_addr); |
519 | /* | 519 | /* |
520 | * Volt sensor test, enable volt low alarm, set min value ridicously | 520 | * Volt sensor test, enable volt low alarm, set min value ridiculously |
521 | * high, or vica versa if the reading is very high. If its a volt | 521 | * high, or vica versa if the reading is very high. If its a volt |
522 | * sensor this should always give us an alarm. | 522 | * sensor this should always give us an alarm. |
523 | */ | 523 | */ |
@@ -564,7 +564,7 @@ abituguru_detect_bank1_sensor_type(struct abituguru_data *data, | |||
564 | 564 | ||
565 | /* | 565 | /* |
566 | * Temp sensor test, enable sensor as a temp sensor, set beep value | 566 | * Temp sensor test, enable sensor as a temp sensor, set beep value |
567 | * ridicously low (but not too low, otherwise uguru ignores it). | 567 | * ridiculously low (but not too low, otherwise uguru ignores it). |
568 | * If its a temp sensor this should always give us an alarm. | 568 | * If its a temp sensor this should always give us an alarm. |
569 | */ | 569 | */ |
570 | buf[0] = ABIT_UGURU_TEMP_HIGH_ALARM_ENABLE; | 570 | buf[0] = ABIT_UGURU_TEMP_HIGH_ALARM_ENABLE; |
diff --git a/drivers/hwmon/abituguru3.c b/drivers/hwmon/abituguru3.c index 0cac8c0b001a..4ae74aa8cdc1 100644 --- a/drivers/hwmon/abituguru3.c +++ b/drivers/hwmon/abituguru3.c | |||
@@ -176,7 +176,7 @@ struct abituguru3_data { | |||
176 | 176 | ||
177 | /* | 177 | /* |
178 | * The abituguru3 supports up to 48 sensors, and thus has registers | 178 | * The abituguru3 supports up to 48 sensors, and thus has registers |
179 | * sets for 48 sensors, for convienence reasons / simplicity of the | 179 | * sets for 48 sensors, for convenience reasons / simplicity of the |
180 | * code we always read and store all registers for all 48 sensors | 180 | * code we always read and store all registers for all 48 sensors |
181 | */ | 181 | */ |
182 | 182 | ||
diff --git a/drivers/hwmon/asus_atk0110.c b/drivers/hwmon/asus_atk0110.c index b25c64302cbc..1d7ff46812c3 100644 --- a/drivers/hwmon/asus_atk0110.c +++ b/drivers/hwmon/asus_atk0110.c | |||
@@ -119,7 +119,7 @@ struct atk_data { | |||
119 | acpi_handle rtmp_handle; | 119 | acpi_handle rtmp_handle; |
120 | acpi_handle rvlt_handle; | 120 | acpi_handle rvlt_handle; |
121 | acpi_handle rfan_handle; | 121 | acpi_handle rfan_handle; |
122 | /* new inteface */ | 122 | /* new interface */ |
123 | acpi_handle enumerate_handle; | 123 | acpi_handle enumerate_handle; |
124 | acpi_handle read_handle; | 124 | acpi_handle read_handle; |
125 | acpi_handle write_handle; | 125 | acpi_handle write_handle; |
diff --git a/drivers/hwmon/max6650.c b/drivers/hwmon/max6650.c index 3c16cbd4c002..0cafc390db4d 100644 --- a/drivers/hwmon/max6650.c +++ b/drivers/hwmon/max6650.c | |||
@@ -660,7 +660,7 @@ static int max6650_init_client(struct i2c_client *client) | |||
660 | /* | 660 | /* |
661 | * If mode is set to "full off", we change it to "open loop" and | 661 | * If mode is set to "full off", we change it to "open loop" and |
662 | * set DAC to 255, which has the same effect. We do this because | 662 | * set DAC to 255, which has the same effect. We do this because |
663 | * there's no "full off" mode defined in hwmon specifcations. | 663 | * there's no "full off" mode defined in hwmon specifications. |
664 | */ | 664 | */ |
665 | 665 | ||
666 | if ((config & MAX6650_CFG_MODE_MASK) == MAX6650_CFG_MODE_OFF) { | 666 | if ((config & MAX6650_CFG_MODE_MASK) == MAX6650_CFG_MODE_OFF) { |
diff --git a/drivers/hwmon/pmbus/pmbus_core.c b/drivers/hwmon/pmbus/pmbus_core.c index 7f9ce3251063..3cbf66e9d861 100644 --- a/drivers/hwmon/pmbus/pmbus_core.c +++ b/drivers/hwmon/pmbus/pmbus_core.c | |||
@@ -157,7 +157,7 @@ EXPORT_SYMBOL_GPL(pmbus_write_byte); | |||
157 | 157 | ||
158 | /* | 158 | /* |
159 | * _pmbus_write_byte() is similar to pmbus_write_byte(), but checks if | 159 | * _pmbus_write_byte() is similar to pmbus_write_byte(), but checks if |
160 | * a device specific mapping funcion exists and calls it if necessary. | 160 | * a device specific mapping function exists and calls it if necessary. |
161 | */ | 161 | */ |
162 | static int _pmbus_write_byte(struct i2c_client *client, int page, u8 value) | 162 | static int _pmbus_write_byte(struct i2c_client *client, int page, u8 value) |
163 | { | 163 | { |
diff --git a/drivers/hwmon/w83791d.c b/drivers/hwmon/w83791d.c index a3feee332e20..bdcf2dce5ec4 100644 --- a/drivers/hwmon/w83791d.c +++ b/drivers/hwmon/w83791d.c | |||
@@ -1043,7 +1043,7 @@ static struct sensor_device_attribute sda_temp_alarm[] = { | |||
1043 | SENSOR_ATTR(temp3_alarm, S_IRUGO, show_alarm, NULL, 13), | 1043 | SENSOR_ATTR(temp3_alarm, S_IRUGO, show_alarm, NULL, 13), |
1044 | }; | 1044 | }; |
1045 | 1045 | ||
1046 | /* get reatime status of all sensors items: voltage, temp, fan */ | 1046 | /* get realtime status of all sensors items: voltage, temp, fan */ |
1047 | static ssize_t show_alarms_reg(struct device *dev, | 1047 | static ssize_t show_alarms_reg(struct device *dev, |
1048 | struct device_attribute *attr, char *buf) | 1048 | struct device_attribute *attr, char *buf) |
1049 | { | 1049 | { |
diff --git a/drivers/hwmon/w83792d.c b/drivers/hwmon/w83792d.c index 5febb43cb4c1..df585808adb6 100644 --- a/drivers/hwmon/w83792d.c +++ b/drivers/hwmon/w83792d.c | |||
@@ -579,7 +579,7 @@ static ssize_t store_temp23(struct device *dev, struct device_attribute *attr, | |||
579 | return count; | 579 | return count; |
580 | } | 580 | } |
581 | 581 | ||
582 | /* get reatime status of all sensors items: voltage, temp, fan */ | 582 | /* get realtime status of all sensors items: voltage, temp, fan */ |
583 | static ssize_t | 583 | static ssize_t |
584 | show_alarms_reg(struct device *dev, struct device_attribute *attr, char *buf) | 584 | show_alarms_reg(struct device *dev, struct device_attribute *attr, char *buf) |
585 | { | 585 | { |
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) | |||
808 | if (nr == TEMP_FAN_MAP) { | 808 | if (nr == TEMP_FAN_MAP) { |
809 | val = data->temp_fan_map[index]; | 809 | val = data->temp_fan_map[index]; |
810 | } else if (nr == TEMP_PWM_ENABLE) { | 810 | } else if (nr == TEMP_PWM_ENABLE) { |
811 | /* +2 to transfrom into 2 and 3 to conform with sysfs intf */ | 811 | /* +2 to transform into 2 and 3 to conform with sysfs intf */ |
812 | val = ((data->pwm_enable >> index) & 0x01) + 2; | 812 | val = ((data->pwm_enable >> index) & 0x01) + 2; |
813 | } else if (nr == TEMP_CRUISE) { | 813 | } else if (nr == TEMP_CRUISE) { |
814 | val = TEMP_FROM_REG(data->temp_cruise[index] & 0x7f); | 814 | val = TEMP_FROM_REG(data->temp_cruise[index] & 0x7f); |