hwmon: Allow writing of negative trigger temperatures
authorChristian Hohnstaedt <chohnstaedt@innominate.com>
Thu, 16 Aug 2007 09:40:10 +0000 (11:40 +0200)
committerMark M. Hoffman <mhoffman@lightlink.com>
Wed, 10 Oct 2007 02:56:29 +0000 (22:56 -0400)
commit5bfedac045082a97e20d47d876071279ef984d28
treec6432db00589d4858ca1b4a04624dc74be5ba181
parentdcf3b5fb7fb6e1b56bfaf705e665b04870213768
hwmon: Allow writing of negative trigger temperatures

- replace differing temperature variable types by long
- use strtol() instead of strtoul() for conversion

Signed-off-by: Christian Hohnstaedt <chohnstaedt@innominate.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/ad7418.c
drivers/hwmon/adm1021.c
drivers/hwmon/asb100.c
drivers/hwmon/ds1621.c
drivers/hwmon/lm75.c
drivers/hwmon/lm75.h
drivers/hwmon/lm77.c
drivers/hwmon/lm93.c
drivers/hwmon/w83627ehf.c
drivers/hwmon/w83627hf.c
drivers/hwmon/w83781d.c