Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7cb7273f8ce9c5790a7b64208172b4203977e0a3 Commit: 7cb7273f8ce9c5790a7b64208172b4203977e0a3 Parent: da667365befb2846485b82c4e6c57729dd513fd2 Author: Jean Delvare <[EMAIL PROTECTED]> AuthorDate: Sun Jun 24 11:21:43 2007 +0200 Committer: Mark M. Hoffman <[EMAIL PROTECTED]> CommitDate: Thu Jul 19 14:22:18 2007 -0400
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 <[EMAIL PROTECTED]> Signed-off-by: Mark M. Hoffman <[EMAIL PROTECTED]> --- 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 a78d3c2..d2a2613 100644 --- a/drivers/hwmon/w83627ehf.c +++ b/drivers/hwmon/w83627ehf.c @@ -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 - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html