regulator: Show correct chip id for max8649
PATCH 1/1 regulator: Show correct chip id for max8649
Signed-off-by Axel Lin <[email protected]>
--- drivers/regulator/max8649.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/regulator/max8649.c +1 -1
@@ -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 );
Signature · 1 line
1.7.5.4
Mark Brown
AppliedQuoted 1 line · Axel Lin
Signed-off-by Axel Lin <[email protected]>
Applied, thanks.