diff options
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/w83791d.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hwmon/w83791d.c b/drivers/hwmon/w83791d.c index daa7d121483b..de21142d106c 100644 --- a/drivers/hwmon/w83791d.c +++ b/drivers/hwmon/w83791d.c | |||
@@ -1055,9 +1055,10 @@ static int w83791d_probe(struct i2c_client *client, | |||
1055 | { | 1055 | { |
1056 | struct w83791d_data *data; | 1056 | struct w83791d_data *data; |
1057 | struct device *dev = &client->dev; | 1057 | struct device *dev = &client->dev; |
1058 | int i, val1, err; | 1058 | int i, err; |
1059 | 1059 | ||
1060 | #ifdef DEBUG | 1060 | #ifdef DEBUG |
1061 | int val1; | ||
1061 | val1 = w83791d_read(client, W83791D_REG_DID_VID4); | 1062 | val1 = w83791d_read(client, W83791D_REG_DID_VID4); |
1062 | dev_dbg(dev, "Device ID version: %d.%d (0x%02x)\n", | 1063 | dev_dbg(dev, "Device ID version: %d.%d (0x%02x)\n", |
1063 | (val1 >> 5) & 0x07, (val1 >> 1) & 0x0f, val1); | 1064 | (val1 >> 5) & 0x07, (val1 >> 1) & 0x0f, val1); |