Skip to contentSkip to conversation

hwmon: lm85: trivial cleanups

PATCH New Jean Delvare 1 participant 1 message Jul 29, 2005 Hardware monitoring

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hwmon: lm85: trivial cleanups

Hi Greg, all,

Remove an unused macro and an outdated comment from the lm85 driver.

 drivers/hwmon/lm85.c |    9 ---------
 1 files changed, 9 deletions(-)
drivers/hwmon/lm85.c +0 -9
@@ -282,15 +282,6 @@
 #define PPR_TO_REG(val,fan) (SENSORS_LIMIT((val)-1,0,3)<<(fan *2))
 #define PPR_FROM_REG(val,fan) ((((val)>>(fan * 2))&0x03)+1)
 
-/* i2c-vid.h defines vid_from_reg() */
-#define VID_FROM_REG(val,vrm) (vid_from_reg((val),(vrm)))
-
-/* Unlike some other drivers we DO NOT set initial limits.  Use
- * the config file to set limits.  Some users have reported
- * motherboards shutting down when we set limits in a previous
- * version of the driver.
- */
-
 /* Chip sampling rates
  *
  * Some sensors are not updated more frequently than once per second
Signature · 1 line
Jean Delvare