Skip to content

Commit

Permalink
hwmon/w83627ehf: No need to initialize fan_min
Browse files Browse the repository at this point in the history
We don't need to initialize fan_min in this driver, as the fan_div
attributes are read-only.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
  • Loading branch information
Jean Delvare authored and Mark M. Hoffman committed Jul 19, 2007
1 parent da66736 commit 7cb7273
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/hwmon/w83627ehf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1269,11 +1269,6 @@ static int __devinit w83627ehf_probe(struct platform_device *pdev)
/* Initialize the chip */
w83627ehf_init_device(data);

/* A few vars need to be filled upon startup */
for (i = 0; i < 5; i++)
data->fan_min[i] = w83627ehf_read_value(data,
W83627EHF_REG_FAN_MIN[i]);

data->vrm = vid_which_vrm();
superio_enter(sio_data->sioreg);
/* Set VID input sensibility if needed. In theory the BIOS should
Expand Down

0 comments on commit 7cb7273

Please sign in to comment.