diff options
author | Jean Delvare <khali@linux-fr.org> | 2005-03-30 22:31:02 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-03-30 22:31:02 -0800 |
commit | adcca21aa6af4df6d6e366434a5177a1f76d4355 (patch) | |
tree | 7c5b85bf0ad48e2b7532eb985b000c46701caba2 | |
parent | e229b0f7bf6d2c347240f8309435c43f6fd951e0 (diff) | |
download | history-adcca21aa6af4df6d6e366434a5177a1f76d4355.tar.gz |
[PATCH] I2C: Delete useless instruction in it87
The IT8705F doesn't support VID, so it's quite pointless to give a value
to it (and an arbitrary one at that). I think that this instruction was
there for compatibility reasons some times ago, but the reasons went
away while the instruction was left in place. We can safely delete it
now.
Thanks to Rudolf Marek for testing the patch (you never know).
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/i2c/chips/it87.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/i2c/chips/it87.c b/drivers/i2c/chips/it87.c index 686fb756407c05..fbb97e6aec6fbb 100644 --- a/drivers/i2c/chips/it87.c +++ b/drivers/i2c/chips/it87.c @@ -1122,9 +1122,6 @@ static struct it87_data *it87_update_device(struct device *dev) it87_read_value(client, IT87_REG_TEMP_LOW(i)); } - /* The 8705 does not have VID capability */ - data->vid = 0x1f; - i = it87_read_value(client, IT87_REG_FAN_DIV); data->fan_div[0] = i & 0x07; data->fan_div[1] = (i >> 3) & 0x07; |