diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-06-24 05:21:43 -0400 |
---|---|---|
committer | Mark M. Hoffman <mhoffman@lightlink.com> | 2007-07-19 14:22:18 -0400 |
commit | 7cb7273f8ce9c5790a7b64208172b4203977e0a3 (patch) | |
tree | 415a81314ffbe45d10bb7e30d90ff99a88eb2090 /drivers | |
parent | da667365befb2846485b82c4e6c57729dd513fd2 (diff) |
hwmon/w83627ehf: No need to initialize fan_min
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/hwmon/w83627ehf.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/hwmon/w83627ehf.c b/drivers/hwmon/w83627ehf.c index a78d3c2623ba..d2a26135b313 100644 --- a/drivers/hwmon/w83627ehf.c +++ b/drivers/hwmon/w83627ehf.c | |||
@@ -1269,11 +1269,6 @@ static int __devinit w83627ehf_probe(struct platform_device *pdev) | |||
1269 | /* Initialize the chip */ | 1269 | /* Initialize the chip */ |
1270 | w83627ehf_init_device(data); | 1270 | w83627ehf_init_device(data); |
1271 | 1271 | ||
1272 | /* A few vars need to be filled upon startup */ | ||
1273 | for (i = 0; i < 5; i++) | ||
1274 | data->fan_min[i] = w83627ehf_read_value(data, | ||
1275 | W83627EHF_REG_FAN_MIN[i]); | ||
1276 | |||
1277 | data->vrm = vid_which_vrm(); | 1272 | data->vrm = vid_which_vrm(); |
1278 | superio_enter(sio_data->sioreg); | 1273 | superio_enter(sio_data->sioreg); |
1279 | /* Set VID input sensibility if needed. In theory the BIOS should | 1274 | /* Set VID input sensibility if needed. In theory the BIOS should |