diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-03-11 19:35:52 -0400 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2009-03-31 04:56:28 -0400 |
commit | 1dc60343f874ce4bfbbc2c3d2f7865fc897df479 (patch) | |
tree | 35e7dd443f06fbd97f7b0261d67cc6ee39f66da0 /drivers | |
parent | cacf90f24e80cec9334f98e0377149f943fe9f16 (diff) |
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')
-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) | |||
1031 | goto found; | 1031 | goto found; |
1032 | } | 1032 | } |
1033 | } | 1033 | } |
1034 | printk(KERN_ERR "regulator: Unable to get requested regulator: %s\n", | ||
1035 | id); | ||
1036 | mutex_unlock(®ulator_list_mutex); | 1034 | mutex_unlock(®ulator_list_mutex); |
1037 | return regulator; | 1035 | return regulator; |
1038 | 1036 | ||