[lm-sensors] hwmon: (fschmd) Discard non-ASCII characters

Jean Delvare khali at linux-fr.org
Sat Oct 13 19:22:45 CEST 2007


Somehow non-ASCII characters managed to sneak into the fschmd driver.
Kick them out.

Signed-off-by: Jean Delvare <khali at linux-fr.org>
Cc: Hans de Goede <j.w.r.degoede at hhs.nl>
---
 drivers/hwmon/fschmd.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-2.6.23-rc0.orig/drivers/hwmon/fschmd.c	2007-10-13 15:42:51.000000000 +0200
+++ linux-2.6.23-rc0/drivers/hwmon/fschmd.c	2007-10-13 19:18:13.000000000 +0200
@@ -133,7 +133,7 @@ static const u8 FSCHMD_REG_TEMP_STATE[5]
 	{ 0x71, 0x81, 0x91 },				/* her */
 	{ 0x71, 0xd1, 0x81, 0x91 },			/* scy */
 	{ 0x71, 0x81, 0x91 },				/* hrc */
-	{ 0x71, 0x81, 0x91, 0xd1, 0xe1 },		/* hmd */
+	{ 0x71, 0x81, 0x91, 0xd1, 0xe1 },		/* hmd */
 };
 
 /* temperature high limit registers, FSC does not document these. Proven to be
@@ -146,7 +146,7 @@ static const u8 FSCHMD_REG_TEMP_LIMIT[5]
 	{ 0x76, 0x86, 0x96 },				/* her */
 	{ 0x76, 0xd6, 0x86, 0x96 },			/* scy */
 	{ 0x76, 0x86, 0x96 },				/* hrc */
-	{ 0x76, 0x86, 0x96, 0xd6, 0xe6 },		/* hmd */
+	{ 0x76, 0x86, 0x96, 0xd6, 0xe6 },		/* hmd */
 };
 
 /* These were found through experimenting with an fscher, currently they are


-- 
Jean Delvare




More information about the lm-sensors mailing list