projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c517d83
)
regulator: da9211: Fix wrong register name in error message
author
Geert Uytterhoeven
<geert+renesas@glider.be>
Mon, 23 Feb 2015 16:11:07 +0000
(17:11 +0100)
committer
Mark Brown
<broonie@kernel.org>
Tue, 24 Feb 2015 08:19:05 +0000
(17:19 +0900)
We tried to read the CONFIG_E register, not the CONTROL_E register.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: James Ban <james.ban.opensource@diasemi.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/da9211-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/da9211-regulator.c
b/drivers/regulator/da9211-regulator.c
index 01343419555ee3363d7bc0d3c10df731fbd74587..3eda2dd577137f2a8d86b0d21599beb8fb5cf48d 100644
(file)
--- a/
drivers/regulator/da9211-regulator.c
+++ b/
drivers/regulator/da9211-regulator.c
@@
-344,7
+344,7
@@
static int da9211_regulator_init(struct da9211 *chip)
ret = regmap_read(chip->regmap, DA9211_REG_CONFIG_E, &data);
if (ret < 0) {
- dev_err(chip->dev, "Failed to read CON
TROL
_E reg: %d\n", ret);
+ dev_err(chip->dev, "Failed to read CON
FIG
_E reg: %d\n", ret);
return ret;
}