Commit eb564e1d authored by Guenter Roeck's avatar Guenter Roeck

hwmon: (w83627ehf) Remove duplicate code

Commit ec3e5a16 slipped in some duplicate code.
Remove it.
Signed-off-by: default avatarGuenter Roeck <guenter.roeck@ericsson.com>
Acked-by: default avatarJean Delvare <khali@linux-fr.org>
parent d65b4e98
...@@ -2349,11 +2349,6 @@ static int __devinit w83627ehf_probe(struct platform_device *pdev) ...@@ -2349,11 +2349,6 @@ static int __devinit w83627ehf_probe(struct platform_device *pdev)
/* Read fan clock dividers immediately */ /* Read fan clock dividers immediately */
w83627ehf_update_fan_div_common(dev, data); w83627ehf_update_fan_div_common(dev, data);
/* Read pwm data to save original values */
w83627ehf_update_pwm_common(dev, data);
for (i = 0; i < data->pwm_num; i++)
data->pwm_enable_orig[i] = data->pwm_enable[i];
/* Read pwm data to save original values */ /* Read pwm data to save original values */
w83627ehf_update_pwm_common(dev, data); w83627ehf_update_pwm_common(dev, data);
for (i = 0; i < data->pwm_num; i++) for (i = 0; i < data->pwm_num; i++)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment