hwmon: (it87) Delete pwmN_freq files on driver removal
authorJean Delvare <khali@linux-fr.org>
Fri, 14 Dec 2007 13:41:53 +0000 (14:41 +0100)
committerMark M. Hoffman <mhoffman@lightlink.com>
Fri, 8 Feb 2008 01:39:43 +0000 (20:39 -0500)
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>
drivers/hwmon/it87.c

index ca0a723cbce526efae9b365dd3da6df1bc738bb6..e12c132ff83a446ea0b40ca723c7a98f19570c81 100644 (file)
@@ -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,