[lm-sensors] [PATCH] drivers/hwmon: remove duplicated defines

Nicolas Kaiser nikai at nikai.net
Wed Nov 7 13:28:59 CET 2007


Remove duplicated defines.

Signed-off-by: Nicolas Kaiser <nikai at nikai.net>
---

 drivers/hwmon/w83793.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

--- a/drivers/hwmon/w83793.c	2007-11-07 11:28:29.000000000 +0100
+++ b/drivers/hwmon/w83793.c	2007-11-07 13:08:54.000000000 +0100
@@ -131,6 +131,7 @@
 #define PWM_DUTY			0
 #define PWM_START			1
 #define PWM_NONSTOP			2
+#define PWM_STOP_TIME			3
 #define W83793_REG_PWM(index, nr)	(((nr) == 0 ? 0xb3 : \
 					 (nr) == 1 ? 0x220 : 0x218) + (index))
 
@@ -407,10 +408,6 @@
 	return count;
 }
 
-#define PWM_DUTY			0
-#define PWM_START			1
-#define PWM_NONSTOP			2
-#define PWM_STOP_TIME			3
 static ssize_t
 show_pwm(struct device *dev, struct device_attribute *attr, char *buf)
 {



More information about the lm-sensors mailing list