Skip to contentSkip to conversation

hwmon: Fix various typos

PATCH In review Jean Delvare 3 participants 4 messages Dec 9, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hwmon: Fix various typos

---
 Documentation/hwmon/lm85  |    2 +-
 drivers/hwmon/it87.c      |    2 +-
 drivers/hwmon/w83627ehf.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/hwmon/w83627ehf.c +1 -1
@@ -503,7 +503,7 @@ static struct w83627ehf_data *w83627ehf_
 		}
 
 		for (i = 0; i < 4; i++) {
-			/* pwmcfg, tolarance mapped for i=0, i=1 to same reg */
+			/* pwmcfg, tolerance mapped for i=0, i=1 to same reg */
 			if (i != 1) {
 				pwmcfg = w83627ehf_read_value(data,
 						W83627EHF_REG_PWM_ENABLE[i]);
Documentation/hwmon/lm85 +1 -1
@@ -164,7 +164,7 @@ configured individually according to the
                       temperature. (PWM value from 0 to 255)
 
 * pwm#_auto_pwm_minctl - this flags selects for temp#_auto_temp_off temperature
-                         the bahaviour of fans. Write 1 to let fans spinning at
+                         the behaviour of fans. Write 1 to let fans spinning at
 			 pwm#_auto_pwm_min or write 0 to let them off.
 
 NOTE: It has been reported that there is a bug in the LM85 that causes the flag
drivers/hwmon/it87.c +1 -1
@@ -1386,7 +1386,7 @@ static void __devinit it87_init_device(s
 			it87_write_value(data, IT87_REG_TEMP_HIGH(i), 127);
 	}
 
-	/* Check if temperature channnels are reset manually or by some reason */
+	/* Check if temperature channels are reset manually or by some reason */
 	tmp = it87_read_value(data, IT87_REG_TEMP_ENABLE);
 	if ((tmp & 0x3f) = 0) {
 		/* Temp1,Temp3=thermistor; Temp2=thermal diode */
Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#1 lore raw
Quoted 7 lines · Jean Delvare
---
 Documentation/hwmon/lm85  |    2 +-
 drivers/hwmon/it87.c      |    2 +-
 drivers/hwmon/w83627ehf.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Looks good to me :)

Regards,

Hans

Quoted 27 lines
drivers/hwmon/w83627ehf.c +1 -1
@@ -503,7 +503,7 @@ static struct w83627ehf_data *w83627ehf_
 		}
 
 		for (i = 0; i < 4; i++) {
-			/* pwmcfg, tolarance mapped for i=0, i=1 to same reg */
+			/* pwmcfg, tolerance mapped for i=0, i=1 to same reg */
 			if (i != 1) {
 				pwmcfg = w83627ehf_read_value(data,
 						W83627EHF_REG_PWM_ENABLE[i]);
Documentation/hwmon/lm85 +1 -1
@@ -164,7 +164,7 @@ configured individually according to the
                       temperature. (PWM value from 0 to 255)
 
 * pwm#_auto_pwm_minctl - this flags selects for temp#_auto_temp_off temperature
-                         the bahaviour of fans. Write 1 to let fans spinning at
+                         the behaviour of fans. Write 1 to let fans spinning at
 			 pwm#_auto_pwm_min or write 0 to let them off.
 
 NOTE: It has been reported that there is a bug in the LM85 that causes the flag

drivers/hwmon/it87.c static void __devinit it87_init_device(s · line 1392

Quoted 8 lines
drivers/hwmon/it87.c +1 -1
@@ -1386,7 +1386,7 @@ static void __devinit it87_init_device(s
 			it87_write_value(data, IT87_REG_TEMP_HIGH(i), 127);
 	}
 
-	/* Check if temperature channnels are reset manually or by some reason */
+	/* Check if temperature channels are reset manually or by some reason */
 	tmp = it87_read_value(data, IT87_REG_TEMP_ENABLE);
 	if ((tmp & 0x3f) = 0) {
 		/* Temp1,Temp3=thermistor; Temp2=thermal diode */

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#2 lore raw
In reply to Jean Delvare

ack both patches (ACPI resources and typo fixes)

P.S. I have found a bug in the way the init code in w83627ehf puts the base address into the data structure, so it ends up accessing the device at 0x290 when it should be 0x295. I'll send out a patch in a few days.

Quoted 9 lines · Hans de Goede
Quoted 7 lines · Jean Delvare
---
 Documentation/hwmon/lm85  |    2 +-
 drivers/hwmon/it87.c      |    2 +-
 drivers/hwmon/w83627ehf.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
Quoted 5 lines

Looks good to me :)

Regards,

Hans

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#3 lore raw
In reply to Jean Delvare

Hi David,

Quoted 3 lines · David Hubbard

ack both patches (ACPI resources and typo fixes)

Actually these are Acked-by, as the patch didn't transit through you. But thanks anyway :)

Quoted 4 lines

P.S. I have found a bug in the way the init code in w83627ehf puts the base address into the data structure, so it ends up accessing the device at 0x290 when it should be 0x295. I'll send out a patch in a few days.

OK, I'll test and review it when you do.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors