From: Mark Brown Date: Wed, 11 Mar 2009 23:35:52 +0000 (+0000) Subject: regulator: Don't warn if we failed to get a regulator X-Git-Tag: firefly_0821_release~14802^2~5 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1dc60343f874ce4bfbbc2c3d2f7865fc897df479;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Liam Girdwood --- 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;