diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-02-06 13:37:46 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-02-06 17:38:18 +0100 |
commit | da7de6a161d280736f399a378e43ea9e6861bd04 (patch) | |
tree | fa4d65a98e5c7a2aeb01c9ad211491fac252f490 | |
parent | regulator: Remove redundant regmap_update_bits call for TPS65023_REG_CON_CTRL2 (diff) | |
download | linux-da7de6a161d280736f399a378e43ea9e6861bd04.tar.xz linux-da7de6a161d280736f399a378e43ea9e6861bd04.zip |
regulator: Show correct chip id for max8649
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | drivers/regulator/max8649.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/max8649.c b/drivers/regulator/max8649.c index b06a2399587c..636dfd45b758 100644 --- a/drivers/regulator/max8649.c +++ b/drivers/regulator/max8649.c @@ -270,7 +270,7 @@ static int __devinit max8649_regulator_probe(struct i2c_client *client, ret); goto out; } - dev_info(info->dev, "Detected MAX8649 (ID:%x)\n", ret); + dev_info(info->dev, "Detected MAX8649 (ID:%x)\n", val); /* enable VID0 & VID1 */ regmap_update_bits(info->regmap, MAX8649_CONTROL, MAX8649_VID_MASK, 0); |