diff options
author | Shuah Khan <shuah.kh@samsung.com> | 2014-02-20 14:58:15 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-20 18:35:31 -0500 |
commit | acc3d5cec84f82ebea535fa0bd9500ac3df2aee9 (patch) | |
tree | f1180871a9cd0ae67517c534a079f90ba0f74e35 /drivers/regulator | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) |
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: Shuah Khan <shuah.kh@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index b38a6b669e8c..74e9fb2e52e7 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c | |||
@@ -1352,7 +1352,7 @@ static struct regulator *_regulator_get(struct device *dev, const char *id, | |||
1352 | goto found; | 1352 | goto found; |
1353 | /* Don't log an error when called from regulator_get_optional() */ | 1353 | /* Don't log an error when called from regulator_get_optional() */ |
1354 | } else if (!have_full_constraints() || exclusive) { | 1354 | } else if (!have_full_constraints() || exclusive) { |
1355 | dev_err(dev, "dummy supplies not allowed\n"); | 1355 | dev_warn(dev, "dummy supplies not allowed\n"); |
1356 | } | 1356 | } |
1357 | 1357 | ||
1358 | mutex_unlock(®ulator_list_mutex); | 1358 | mutex_unlock(®ulator_list_mutex); |