Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Shuah Khan and committed by
Mark Brown
acc3d5ce 38dbfb59

+1 -1
+1 -1
drivers/regulator/core.c
··· 1352 1352 goto found; 1353 1353 /* Don't log an error when called from regulator_get_optional() */ 1354 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 1358 mutex_unlock(&regulator_list_mutex);