提交 7cb7273f 编写于 作者: J Jean Delvare 提交者: Mark M. Hoffman

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: NJean Delvare <khali@linux-fr.org>
Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
上级 da667365
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册