Skip to contentSkip to conversation

hwmon: (it87) Delete pwmN_freq files on driver

PATCH In review Jean Delvare 3 participants 3 messages Dec 14, 2007 – Jan 29, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hwmon: (it87) Delete pwmN_freq files on driver

In commit f8d0c19a93cea3a26a90f2462295e1e01a4cd250 I forgot to delete the pwmN_freq files on driver removal, here's the fix.

---
 drivers/hwmon/it87.c |    3 +++
 1 file changed, 3 insertions(+)
drivers/hwmon/it87.c +3 -0
@@ -919,6 +919,9 @@ static struct attribute *it87_attributes
 	&sensor_dev_attr_pwm1.dev_attr.attr,
 	&sensor_dev_attr_pwm2.dev_attr.attr,
 	&sensor_dev_attr_pwm3.dev_attr.attr,
+	&dev_attr_pwm1_freq.attr,
+	&dev_attr_pwm2_freq.attr,
+	&dev_attr_pwm3_freq.attr,
 
 	&dev_attr_vrm.attr,
 	&dev_attr_cpu0_vid.attr,
Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Acked-by on v1 1/1
#1 lore raw

Re: [lm-sensors] [PATCH] hwmon: (it87) Delete pwmN_freq files on

Quoted 14 lines · Jean Delvare

In commit f8d0c19a93cea3a26a90f2462295e1e01a4cd250 I forgot to delete the pwmN_freq files on driver removal, here's the fix.

---
 drivers/hwmon/it87.c |    3 +++
 1 file changed, 3 insertions(+)

drivers/hwmon/it87.c static struct attribute *it87_attributes · line 927

Quoted 9 lines
drivers/hwmon/it87.c +3 -0
@@ -919,6 +919,9 @@ static struct attribute *it87_attributes
 	&sensor_dev_attr_pwm1.dev_attr.attr,
 	&sensor_dev_attr_pwm2.dev_attr.attr,
 	&sensor_dev_attr_pwm3.dev_attr.attr,
+	&dev_attr_pwm1_freq.attr,
+	&dev_attr_pwm2_freq.attr,
+	&dev_attr_pwm3_freq.attr,
 
 	&dev_attr_vrm.attr,
 	&dev_attr_cpu0_vid.attr,

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

#2 lore raw

Re: [lm-sensors] [PATCH] hwmon: (it87) Delete pwmN_freq files on

In reply to Jean Delvare

Hi Jean:

Quoted 7 lines · Jean Delvare

In commit f8d0c19a93cea3a26a90f2462295e1e01a4cd250 I forgot to delete the pwmN_freq files on driver removal, here's the fix.

---
 drivers/hwmon/it87.c |    3 +++
 1 file changed, 3 insertions(+)

Applied to hwmon-2.6.git/testing, thanks.

Signature · 8 lines
Mark M. Hoffman
[email protected]


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