Commit acc3d5ce authored by Shuah Khan's avatar Shuah Khan Committed by Mark Brown

regulator: core: Change dummy supplies error message to a warning

Change "dummy supplies not allowed" error message to warning instead, as this
is a just warning message with no change to the behavior.

[Added a CC to stable since some other bug fixes cause this to come up
more frequently on PCs which is how it was noticed -- broonie]
Signed-off-by: default avatarShuah Khan <shuah.kh@samsung.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
parent 38dbfb59
...@@ -1352,7 +1352,7 @@ static struct regulator *_regulator_get(struct device *dev, const char *id, ...@@ -1352,7 +1352,7 @@ static struct regulator *_regulator_get(struct device *dev, const char *id,
goto found; goto found;
/* Don't log an error when called from regulator_get_optional() */ /* Don't log an error when called from regulator_get_optional() */
} else if (!have_full_constraints() || exclusive) { } else if (!have_full_constraints() || exclusive) {
dev_err(dev, "dummy supplies not allowed\n"); dev_warn(dev, "dummy supplies not allowed\n");
} }
mutex_unlock(&regulator_list_mutex); mutex_unlock(&regulator_list_mutex);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment