aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2005-07-29 14:51:54 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-05 12:14:17 -0400
commit5cb802293e87035920d47979107af8cf42a2f62a (patch)
treef543daa9379e4ddfbf1de92283680d3c49ee69e5 /drivers/hwmon
parent53ae11b08353268c4012ef107bf205a0724d71aa (diff)
[PATCH] hwmon: lm85: trivial cleanups
Remove an unused macro and an outdated comment from the lm85 driver. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/lm85.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/hwmon/lm85.c b/drivers/hwmon/lm85.c
index 5f051c023236..248920134fd9 100644
--- a/drivers/hwmon/lm85.c
+++ b/drivers/hwmon/lm85.c
@@ -282,15 +282,6 @@ static int ZONE_TO_REG( int zone )
282#define PPR_TO_REG(val,fan) (SENSORS_LIMIT((val)-1,0,3)<<(fan *2)) 282#define PPR_TO_REG(val,fan) (SENSORS_LIMIT((val)-1,0,3)<<(fan *2))
283#define PPR_FROM_REG(val,fan) ((((val)>>(fan * 2))&0x03)+1) 283#define PPR_FROM_REG(val,fan) ((((val)>>(fan * 2))&0x03)+1)
284 284
285/* i2c-vid.h defines vid_from_reg() */
286#define VID_FROM_REG(val,vrm) (vid_from_reg((val),(vrm)))
287
288/* Unlike some other drivers we DO NOT set initial limits. Use
289 * the config file to set limits. Some users have reported
290 * motherboards shutting down when we set limits in a previous
291 * version of the driver.
292 */
293
294/* Chip sampling rates 285/* Chip sampling rates
295 * 286 *
296 * Some sensors are not updated more frequently than once per second 287 * Some sensors are not updated more frequently than once per second