diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-02-06 20:37:46 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-02-06 16:38:18 +0000 |
commit | da7de6a161d280736f399a378e43ea9e6861bd04 (patch) | |
tree | fa4d65a98e5c7a2aeb01c9ad211491fac252f490 /drivers/regulator/max8649.c | |
parent | 0c3d0b20cf9cee1023b1a2e27cfd79db95b578b5 (diff) | |
download | linux-da7de6a161d280736f399a378e43ea9e6861bd04.tar.bz2 |
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.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); |