* [PATCH] regulator: core: Change dummy supplies error message to a warning
@ 2014-02-20 19:58 Shuah Khan
2014-02-20 23:36 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Shuah Khan @ 2014-02-20 19:58 UTC (permalink / raw)
To: lgirdwood, broonie; +Cc: Shuah Khan, linux-kernel, shuahkhan
Change "dummy supplies not allowed" error message to warning instead, as this
is a just warning message with no change to the behavior.
Signed-off-by: Shuah Khan <shuah.kh@samsung.com>
---
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 16a309e..d1ac4ca 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,
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(®ulator_list_mutex);
--
1.7.10.4
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] regulator: core: Change dummy supplies error message to a warning
2014-02-20 19:58 [PATCH] regulator: core: Change dummy supplies error message to a warning Shuah Khan
@ 2014-02-20 23:36 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2014-02-20 23:36 UTC (permalink / raw)
To: Shuah Khan; +Cc: lgirdwood, linux-kernel, shuahkhan
[-- Attachment #1: Type: text/plain, Size: 311 bytes --]
On Thu, Feb 20, 2014 at 12:58:15PM -0700, Shuah Khan wrote:
> Change "dummy supplies not allowed" error message to warning instead, as this
> is a just warning message with no change to the behavior.
Applied, thanks. I added a CC to stable since people are going to
notice it on PCs with the other bug fixes.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-20 23:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-20 19:58 [PATCH] regulator: core: Change dummy supplies error message to a warning Shuah Khan
2014-02-20 23:36 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®