diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-03-11 23:35:52 +0000 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2009-03-31 09:56:28 +0100 |
commit | 1dc60343f874ce4bfbbc2c3d2f7865fc897df479 (patch) | |
tree | 35e7dd443f06fbd97f7b0261d67cc6ee39f66da0 /drivers/regulator | |
parent | cacf90f24e80cec9334f98e0377149f943fe9f16 (diff) | |
download | op-kernel-dev-1dc60343f874ce4bfbbc2c3d2f7865fc897df479.zip op-kernel-dev-1dc60343f874ce4bfbbc2c3d2f7865fc897df479.tar.gz |
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.c | 2 |
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(®ulator_list_mutex); return regulator; |