summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/max8649.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-02-06 20:37:46 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-06 16:38:18 +0000
commitda7de6a161d280736f399a378e43ea9e6861bd04 (patch)
treefa4d65a98e5c7a2aeb01c9ad211491fac252f490 /drivers/regulator/max8649.c
parent0c3d0b20cf9cee1023b1a2e27cfd79db95b578b5 (diff)
downloadop-kernel-dev-da7de6a161d280736f399a378e43ea9e6861bd04.zip
op-kernel-dev-da7de6a161d280736f399a378e43ea9e6861bd04.tar.gz
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>
Diffstat (limited to 'drivers/regulator/max8649.c')
-rw-r--r--drivers/regulator/max8649.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/max8649.c b/drivers/regulator/max8649.c
index b06a239..636dfd4 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);
OpenPOWER on IntegriCloud