diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-11-24 17:45:09 -0500 |
---|---|---|
committer | Mark M. Hoffman <mhoffman@lightlink.com> | 2008-02-07 20:39:41 -0500 |
commit | 7dcf9a31ef50367e474e5e320e8ec5e0a8b9d2f0 (patch) | |
tree | e8e3603560f73eb3fbcfc927711e016947d253b3 | |
parent | 4e9527998f8673b1e3bb6f9645b9700e7973581e (diff) |
hwmon: (fschmd) Discard non-ASCII characters
Somehow non-ASCII characters managed to sneak into the fschmd driver.
Kick them out.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
-rw-r--r-- | drivers/hwmon/fschmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/fschmd.c b/drivers/hwmon/fschmd.c index 63a4df0580db..d427ea5623fb 100644 --- a/drivers/hwmon/fschmd.c +++ b/drivers/hwmon/fschmd.c | |||
@@ -133,7 +133,7 @@ static const u8 FSCHMD_REG_TEMP_STATE[5][5] = { | |||
133 | { 0x71, 0x81, 0x91 }, /* her */ | 133 | { 0x71, 0x81, 0x91 }, /* her */ |
134 | { 0x71, 0xd1, 0x81, 0x91 }, /* scy */ | 134 | { 0x71, 0xd1, 0x81, 0x91 }, /* scy */ |
135 | { 0x71, 0x81, 0x91 }, /* hrc */ | 135 | { 0x71, 0x81, 0x91 }, /* hrc */ |
136 | { 0x71, 0x81, 0x91, 0xd1, 0xe1 }, /* hmd */ | 136 | { 0x71, 0x81, 0x91, 0xd1, 0xe1 }, /* hmd */ |
137 | }; | 137 | }; |
138 | 138 | ||
139 | /* temperature high limit registers, FSC does not document these. Proven to be | 139 | /* temperature high limit registers, FSC does not document these. Proven to be |
@@ -146,7 +146,7 @@ static const u8 FSCHMD_REG_TEMP_LIMIT[5][5] = { | |||
146 | { 0x76, 0x86, 0x96 }, /* her */ | 146 | { 0x76, 0x86, 0x96 }, /* her */ |
147 | { 0x76, 0xd6, 0x86, 0x96 }, /* scy */ | 147 | { 0x76, 0xd6, 0x86, 0x96 }, /* scy */ |
148 | { 0x76, 0x86, 0x96 }, /* hrc */ | 148 | { 0x76, 0x86, 0x96 }, /* hrc */ |
149 | { 0x76, 0x86, 0x96, 0xd6, 0xe6 }, /* hmd */ | 149 | { 0x76, 0x86, 0x96, 0xd6, 0xe6 }, /* hmd */ |
150 | }; | 150 | }; |
151 | 151 | ||
152 | /* These were found through experimenting with an fscher, currently they are | 152 | /* These were found through experimenting with an fscher, currently they are |