From: Jean Delvare Date: Fri, 14 Dec 2007 13:41:53 +0000 (+0100) Subject: hwmon: (it87) Delete pwmN_freq files on driver removal X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d5b0b5d62823f08ab4988e1b179fd5a9bddced31;p=openwrt%2Fstaging%2Fblogic.git 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 Acked-by: Riku Voipio Signed-off-by: Mark M. Hoffman --- 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[] = { &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,