From: Axel Lin Date: Mon, 6 Feb 2012 12:37:46 +0000 (+0800) Subject: regulator: Show correct chip id for max8649 X-Git-Tag: v3.4-rc1~168^2~4^2~46 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=da7de6a161d280736f399a378e43ea9e6861bd04;p=karo-tx-linux.git regulator: Show correct chip id for max8649 Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- 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);