Skip to content

Commit

Permalink
regulator: core: Change dummy supplies error message to a warning
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Shuah Khan authored and Mark Brown committed Feb 20, 2014
1 parent 38dbfb5 commit acc3d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/regulator/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1352,7 +1352,7 @@ static struct regulator *_regulator_get(struct device *dev, const char *id,
goto found;
/* Don't log an error when called from regulator_get_optional() */
} 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);
Expand Down

0 comments on commit acc3d5c

Please sign in to comment.