diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2015-02-23 17:11:07 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-02-24 17:19:05 +0900 |
commit | 767e8aabb53cc6075d388dbce31142d4766521de (patch) | |
tree | 004bf33bb7d0477fe9570c0022bba7f4ca73be07 | |
parent | c517d838eb7d07bbe9507871fab3931deccff539 (diff) | |
download | linux-767e8aabb53cc6075d388dbce31142d4766521de.tar.bz2 |
regulator: da9211: Fix wrong register name in error message
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>
-rw-r--r-- | drivers/regulator/da9211-regulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/da9211-regulator.c b/drivers/regulator/da9211-regulator.c index 01343419555e..3eda2dd57713 100644 --- 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 CONTROL_E reg: %d\n", ret); + dev_err(chip->dev, "Failed to read CONFIG_E reg: %d\n", ret); return ret; } |