projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c3d0b2
)
regulator: Show correct chip id for max8649
author
Axel Lin
<axel.lin@gmail.com>
Mon, 6 Feb 2012 12:37:46 +0000
(20:37 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Mon, 6 Feb 2012 16:38:18 +0000
(16:38 +0000)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/max8649.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/max8649.c
b/drivers/regulator/max8649.c
index b06a2399587c0e08fec38c8c827da6859130840f..636dfd45b7584b5a2dcf27e10c1c22d614f81134 100644
(file)
--- 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);