[lm-sensors] [PATCH] hwmon: (it87) Delete pwmN_freq files on driver removal
Riku Voipio
riku.voipio at movial.fi
Mon Jan 28 13:28:41 CET 2008
Acked-by: Riku Voipio <riku.voipio at movial.fi>
Jean Delvare wrote:
> In commit f8d0c19a93cea3a26a90f2462295e1e01a4cd250 I forgot to delete
> the pwmN_freq files on driver removal, here's the fix.
>
> Signed-off-by: Jean Delvare <khali at linux-fr.org>
> ---
> drivers/hwmon/it87.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> --- linux-2.6.24-rc5.orig/drivers/hwmon/it87.c 2007-12-13 16:30:59.000000000 +0100
> +++ linux-2.6.24-rc5/drivers/hwmon/it87.c 2007-12-14 14:00:40.000000000 +0100
> @@ -919,6 +919,9 @@ static struct attribute *it87_attributes
> &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,
>
>
>
More information about the lm-sensors
mailing list