aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/max8649.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-02-06 07:37:46 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-06 11:38:18 -0500
commitda7de6a161d280736f399a378e43ea9e6861bd04 (patch)
treefa4d65a98e5c7a2aeb01c9ad211491fac252f490 /drivers/regulator/max8649.c
parent0c3d0b20cf9cee1023b1a2e27cfd79db95b578b5 (diff)
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 b06a2399587..636dfd45b75 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,
270 ret); 270 ret);
271 goto out; 271 goto out;
272 } 272 }
273 dev_info(info->dev, "Detected MAX8649 (ID:%x)\n", ret); 273 dev_info(info->dev, "Detected MAX8649 (ID:%x)\n", val);
274 274
275 /* enable VID0 & VID1 */ 275 /* enable VID0 & VID1 */
276 regmap_update_bits(info->regmap, MAX8649_CONTROL, MAX8649_VID_MASK, 0); 276 regmap_update_bits(info->regmap, MAX8649_CONTROL, MAX8649_VID_MASK, 0);