regulator: Don't warn if we failed to get a regulator
PATCH 1/1 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 <[email protected]>
--- drivers/regulator/core.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/regulator/core.c +0 -2
@@ -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;
Signature · 1 line
1.5.6.3
Liam Girdwood
AppliedQuoted 9 lines · Mark Brown
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 <[email protected]>--- drivers/regulator/core.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
Applied.
Thanks
Liam