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 | |
parent | 0c3d0b20cf9cee1023b1a2e27cfd79db95b578b5 (diff) | |
download | op-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>
-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 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); |