mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-26 12:24:33 +00:00
Remove some dead code (backported from Linux 2.6).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5218 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
20041cbfe1
commit
3a4c2b64d8
2 files changed
+1
-4
No files matched your search
@@ -3,6 +3,7 @@ lm_sensors CHANGES file
|
||||
|
||||
SVN-HEAD
|
||||
Library: Don't choke on unrecognized devices, part 2
|
||||
Module asb100: Remove some dead code (2.6 backport)
|
||||
Module i2c-amd756-s4882: Fix an error path (2.6 backport)
|
||||
Module i2c-i801: Drop broken I2C block read support
|
||||
Module i2c-piix4: Minor cleanups (2.6 backport)
|
||||
|
||||
@@ -676,12 +676,8 @@ static void asb100_write_value(struct i2c_client *client, u16 reg, u16 value)
|
||||
static void asb100_init_client(struct i2c_client *client)
|
||||
{
|
||||
struct asb100_data *data = client->data;
|
||||
int vid = 0;
|
||||
|
||||
vid = asb100_read_value(client, ASB100_REG_VID_FANDIV) & 0x0f;
|
||||
vid |= (asb100_read_value(client, ASB100_REG_CHIPID) & 0x01) << 4;
|
||||
data->vrm = ASB100_DEFAULT_VRM;
|
||||
vid = vid_from_reg(vid, data->vrm);
|
||||
|
||||
/* Start monitoring */
|
||||
asb100_write_value(client, ASB100_REG_CONFIG,
|
||||
|
||||
Reference in new issue
Block a user