aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-03-11 23:35:52 +0000
committerLiam Girdwood <lrg@slimlogic.co.uk>2009-03-31 09:56:28 +0100
commit1dc60343f874ce4bfbbc2c3d2f7865fc897df479 (patch)
tree35e7dd443f06fbd97f7b0261d67cc6ee39f66da0 /drivers/regulator
parentcacf90f24e80cec9334f98e0377149f943fe9f16 (diff)
downloadkernel_samsung_espresso10-1dc60343f874ce4bfbbc2c3d2f7865fc897df479.zip
kernel_samsung_espresso10-1dc60343f874ce4bfbbc2c3d2f7865fc897df479.tar.gz
kernel_samsung_espresso10-1dc60343f874ce4bfbbc2c3d2f7865fc897df479.tar.bz2
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>
Diffstat (limited to 'drivers/regulator')
-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 08441e2..019a8a4 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;