aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2007-12-14 08:41:53 -0500
committerMark M. Hoffman <mhoffman@lightlink.com>2008-02-07 20:39:43 -0500
commitd5b0b5d62823f08ab4988e1b179fd5a9bddced31 (patch)
treeb31d804d906adfd0d43b0672892efeb857aa4aec
parent293c09971631d22f8e91402f58955ccaada9dbde (diff)
hwmon: (it87) Delete pwmN_freq files on driver removal
In commit f8d0c19a93cea3a26a90f2462295e1e01a4cd250 I forgot to delete the pwmN_freq files on driver removal, here's the fix. Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Riku Voipio <riku.voipio@movial.fi> Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
-rw-r--r--drivers/hwmon/it87.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hwmon/it87.c b/drivers/hwmon/it87.c
index ca0a723cbce5..e12c132ff83a 100644
--- a/drivers/hwmon/it87.c
+++ b/drivers/hwmon/it87.c
@@ -933,6 +933,9 @@ static struct attribute *it87_attributes_opt[] = {
933 &sensor_dev_attr_pwm1.dev_attr.attr, 933 &sensor_dev_attr_pwm1.dev_attr.attr,
934 &sensor_dev_attr_pwm2.dev_attr.attr, 934 &sensor_dev_attr_pwm2.dev_attr.attr,
935 &sensor_dev_attr_pwm3.dev_attr.attr, 935 &sensor_dev_attr_pwm3.dev_attr.attr,
936 &dev_attr_pwm1_freq.attr,
937 &dev_attr_pwm2_freq.attr,
938 &dev_attr_pwm3_freq.attr,
936 939
937 &dev_attr_vrm.attr, 940 &dev_attr_vrm.attr,
938 &dev_attr_cpu0_vid.attr, 941 &dev_attr_cpu0_vid.attr,