diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-03-12 00:35:52 +0100 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2009-03-31 10:56:28 +0200 |
commit | 1dc60343f874ce4bfbbc2c3d2f7865fc897df479 (patch) | |
tree | 35e7dd443f06fbd97f7b0261d67cc6ee39f66da0 | |
parent | regulator: Allow boot_on regulators to be disabled by clients (diff) | |
download | linux-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.c | 2 |
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(®ulator_list_mutex); return regulator; |