Skip to contentSkip to conversation

Drivers: hwmon: adm1031: fixed a coding style issue

PATCH New Zac Storer 1 participant 1 message Nov 18, 2011 Hardware monitoring

lore
Share & tools
lore

Zac Storer

author
#0 lore raw

PATCH 33/33 Drivers: hwmon: adm1031: fixed a coding style issue

Fixed a coding style issue.

---
 drivers/hwmon/adm1031.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/hwmon/adm1031.c +1 -1
index 04e2adc..6e80cf0 100644
@@ -175,7 +175,7 @@ static int FAN_TO_REG(int reg, int div)
 
 #define AUTO_TEMP_MIN_TO_REG(val, reg)	\
 	((((val)/500) & 0xf8)|((reg) & 0x7))
-#define AUTO_TEMP_RANGE_FROM_REG(reg)	(5000 * (1<< ((reg)&0x7)))
+#define AUTO_TEMP_RANGE_FROM_REG(reg)	(5000 * (1 << ((reg)&0x7)))
 #define AUTO_TEMP_MIN_FROM_REG(reg)	(1000 * ((((reg) >> 3) & 0x1f) << 2))
 
 #define AUTO_TEMP_MIN_FROM_REG_DEG(reg)	((((reg) >> 3) & 0x1f) << 2)
Signature · 7 lines
1.7.7.3


_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors