]> git.hungrycats.org Git - linux/commitdiff
regulator: core: Change dummy supplies error message to a warning
authorShuah Khan <shuah.kh@samsung.com>
Thu, 20 Feb 2014 19:58:15 +0000 (12:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Mar 2014 04:44:20 +0000 (21:44 -0700)
commit acc3d5cec84f82ebea535fa0bd9500ac3df2aee9 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/regulator/core.c

index af8ba6b74487a1cabffbb8cb95095fd82b783ea6..75dffb79ad32572044a3dc542405ce113526f6c7 100644 (file)
@@ -1360,7 +1360,7 @@ static struct regulator *_regulator_get(struct device *dev, const char *id,
                rdev = dummy_regulator_rdev;
                goto found;
        } else {
-               dev_err(dev, "dummy supplies not allowed\n");
+               dev_warn(dev, "dummy supplies not allowed\n");
        }
 
        mutex_unlock(&regulator_list_mutex);