Skip to content

Commit

Permalink
hwmon: (asb100) Remove some dead code
Browse files Browse the repository at this point in the history
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
  • Loading branch information
Mark M. Hoffman committed Apr 27, 2008
1 parent ccd6bef commit 5d822e9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/hwmon/asb100.c
Original file line number Diff line number Diff line change
Expand Up @@ -953,12 +953,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 = i2c_get_clientdata(client);
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 = vid_which_vrm();
vid = vid_from_reg(vid, data->vrm);

/* Start monitoring */
asb100_write_value(client, ASB100_REG_CONFIG,
Expand Down

0 comments on commit 5d822e9

Please sign in to comment.