mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 07:50:04 +00:00
hwmon: (w83627ehf) Remove duplicate code
Commit ec3e5a16446fef1891611fe3bdfa5954d1ddf5e4 slipped in some duplicate code. Remove it. Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com> Acked-by: Jean Delvare <khali@linux-fr.org>
This commit is contained in:
parent
d65b4e98d7
commit
eb564e1dbc
@ -2349,11 +2349,6 @@ static int __devinit w83627ehf_probe(struct platform_device *pdev)
|
||||
/* Read fan clock dividers immediately */
|
||||
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 */
|
||||
w83627ehf_update_pwm_common(dev, data);
|
||||
for (i = 0; i < data->pwm_num; i++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user