aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/adm9240.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/adm9240.c')
-rw-r--r--drivers/hwmon/adm9240.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/hwmon/adm9240.c b/drivers/hwmon/adm9240.c
index 2416628e0ab1..086d02a9ecdc 100644
--- a/drivers/hwmon/adm9240.c
+++ b/drivers/hwmon/adm9240.c
@@ -351,8 +351,9 @@ static void adm9240_write_fan_div(struct i2c_client *client, int nr,
351 reg &= ~(3 << shift); 351 reg &= ~(3 << shift);
352 reg |= (fan_div << shift); 352 reg |= (fan_div << shift);
353 i2c_smbus_write_byte_data(client, ADM9240_REG_VID_FAN_DIV, reg); 353 i2c_smbus_write_byte_data(client, ADM9240_REG_VID_FAN_DIV, reg);
354 dev_dbg(&client->dev, "fan%d clock divider changed from %u " 354 dev_dbg(&client->dev,
355 "to %u\n", nr + 1, 1 << old, 1 << fan_div); 355 "fan%d clock divider changed from %u to %u\n",
356 nr + 1, 1 << old, 1 << fan_div);
356} 357}
357 358
358/* 359/*
@@ -699,8 +700,8 @@ static void adm9240_init_client(struct i2c_client *client)
699 /* start measurement cycle */ 700 /* start measurement cycle */
700 i2c_smbus_write_byte_data(client, ADM9240_REG_CONFIG, 1); 701 i2c_smbus_write_byte_data(client, ADM9240_REG_CONFIG, 1);
701 702
702 dev_info(&client->dev, "cold start: config was 0x%02x " 703 dev_info(&client->dev,
703 "mode %u\n", conf, mode); 704 "cold start: config was 0x%02x mode %u\n", conf, mode);
704 } 705 }
705} 706}
706 707