summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-03-12 00:35:52 +0100
committerLiam Girdwood <lrg@slimlogic.co.uk>2009-03-31 10:56:28 +0200
commit1dc60343f874ce4bfbbc2c3d2f7865fc897df479 (patch)
tree35e7dd443f06fbd97f7b0261d67cc6ee39f66da0
parentregulator: Allow boot_on regulators to be disabled by clients (diff)
downloadlinux-1dc60343f874ce4bfbbc2c3d2f7865fc897df479.tar.xz
linux-1dc60343f874ce4bfbbc2c3d2f7865fc897df479.zip
regulator: Don't warn if we failed to get a regulator
The consumer can print a message if required, some consumers may have optional regulators and wish to downgrade the logging for them or ignore their absence. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
-rw-r--r--drivers/regulator/core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index 08441e24946e..019a8a42ac18 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -1031,8 +1031,6 @@ struct regulator *regulator_get(struct device *dev, const char *id)
goto found;
}
}
- printk(KERN_ERR "regulator: Unable to get requested regulator: %s\n",
- id);
mutex_unlock(&regulator_list_mutex);
return regulator;