Skip to content

Commit

Permalink
hwmon: (it87) Delete pwmN_freq files on driver removal
Browse files Browse the repository at this point in the history
In commit f8d0c19 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>
  • Loading branch information
Jean Delvare authored and Mark M. Hoffman committed Feb 8, 2008
1 parent 293c099 commit d5b0b5d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/hwmon/it87.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d5b0b5d

Please sign in to comment.