summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/it87.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2007-12-14 14:41:53 +0100
committerMark M. Hoffman <mhoffman@lightlink.com>2008-02-07 20:39:43 -0500
commitd5b0b5d62823f08ab4988e1b179fd5a9bddced31 (patch)
treeb31d804d906adfd0d43b0672892efeb857aa4aec /drivers/hwmon/it87.c
parent293c09971631d22f8e91402f58955ccaada9dbde (diff)
downloadop-kernel-dev-d5b0b5d62823f08ab4988e1b179fd5a9bddced31.zip
op-kernel-dev-d5b0b5d62823f08ab4988e1b179fd5a9bddced31.tar.gz
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>
Diffstat (limited to 'drivers/hwmon/it87.c')
-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 ca0a723..e12c132 100644
--- a/drivers/hwmon/it87.c
+++ b/drivers/hwmon/it87.c
@@ -933,6 +933,9 @@ static struct attribute *it87_attributes_opt[] = {
&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,
OpenPOWER on IntegriCloud