From: Jean Delvare Date: Fri, 29 Jul 2005 18:51:54 +0000 (+0200) Subject: [PATCH] hwmon: lm85: trivial cleanups X-Git-Tag: v2.6.14-rc1~752^2~35 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5cb802293e87035920d47979107af8cf42a2f62a;p=linux-2.6-omap-h63xx.git [PATCH] hwmon: lm85: trivial cleanups Remove an unused macro and an outdated comment from the lm85 driver. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/hwmon/lm85.c b/drivers/hwmon/lm85.c index 5f051c02323..248920134fd 100644 --- a/drivers/hwmon/lm85.c +++ b/drivers/hwmon/lm85.c @@ -282,15 +282,6 @@ static int ZONE_TO_REG( int zone ) #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