Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hwmon: (w83793) remove duplicated defines

Remove duplicated defines.

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>

authored by

Nicolas Kaiser and committed by
Mark M. Hoffman
5aebefb0 6722fead

+1 -4
+1 -4
drivers/hwmon/w83793.c
··· 131 131 #define PWM_DUTY 0 132 132 #define PWM_START 1 133 133 #define PWM_NONSTOP 2 134 + #define PWM_STOP_TIME 3 134 135 #define W83793_REG_PWM(index, nr) (((nr) == 0 ? 0xb3 : \ 135 136 (nr) == 1 ? 0x220 : 0x218) + (index)) 136 137 ··· 408 407 return count; 409 408 } 410 409 411 - #define PWM_DUTY 0 412 - #define PWM_START 1 413 - #define PWM_NONSTOP 2 414 - #define PWM_STOP_TIME 3 415 410 static ssize_t 416 411 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) 417 412 {