diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/hwmon/asb100.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/hwmon/asb100.c b/drivers/hwmon/asb100.c index 84712a22acea..fe2eea4d799b 100644 --- a/drivers/hwmon/asb100.c +++ b/drivers/hwmon/asb100.c | |||
@@ -953,12 +953,8 @@ static void asb100_write_value(struct i2c_client *client, u16 reg, u16 value) | |||
953 | static void asb100_init_client(struct i2c_client *client) | 953 | static void asb100_init_client(struct i2c_client *client) |
954 | { | 954 | { |
955 | struct asb100_data *data = i2c_get_clientdata(client); | 955 | struct asb100_data *data = i2c_get_clientdata(client); |
956 | int vid = 0; | ||
957 | 956 | ||
958 | vid = asb100_read_value(client, ASB100_REG_VID_FANDIV) & 0x0f; | ||
959 | vid |= (asb100_read_value(client, ASB100_REG_CHIPID) & 0x01) << 4; | ||
960 | data->vrm = vid_which_vrm(); | 957 | data->vrm = vid_which_vrm(); |
961 | vid = vid_from_reg(vid, data->vrm); | ||
962 | 958 | ||
963 | /* Start monitoring */ | 959 | /* Start monitoring */ |
964 | asb100_write_value(client, ASB100_REG_CONFIG, | 960 | asb100_write_value(client, ASB100_REG_CONFIG, |