stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 3.13] regulator: core: Change dummy supplies error message to a warning
@ 2014-03-05 21:29 Shuah Khan
  2014-03-05 22:00 ` Joe Perches
  2014-03-19 23:58 ` Greg KH
  0 siblings, 2 replies; 6+ messages in thread
From: Shuah Khan @ 2014-03-05 21:29 UTC (permalink / raw)
  To: lgirdwood, broonie, gregkh
  Cc: Shuah Khan, stable, linux-kernel, shuahkhan, Mark Brown

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

upstream commit acc3d5cec84f82ebea535fa0bd9500ac3df2aee9

Signed-off-by: Shuah Khan <shuah.kh@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
---

Back porting as the original patch tagged for stable failed to apply.
Included Mark Brown's Signed-off from the original commit. This change
is not applicable to 3.12 and earlier.

 drivers/regulator/core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index 0186c1b..804521a 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -1359,7 +1359,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);
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-03-20 21:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-05 21:29 [PATCH 3.13] regulator: core: Change dummy supplies error message to a warning Shuah Khan
2014-03-05 22:00 ` Joe Perches
2014-03-05 22:29   ` Shuah Khan
2014-03-19 23:58 ` Greg KH
2014-03-20 10:02   ` Mark Brown
2014-03-20 21:16     ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).