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>
This commit is contained in:
Geert Uytterhoeven 2015-02-23 17:11:07 +01:00 committed by Mark Brown
parent c517d838eb
commit 767e8aabb5
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}