]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: Don't add the function name to pr_fmt
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 9 Feb 2012 13:08:39 +0000 (13:08 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 9 Feb 2012 16:22:06 +0000 (16:22 +0000)
commitb506647e3d6d27668489d844050065a49a632dc6
treedf913893b03ed8594278b378bd05bca9d0bf8f6e
parent9a650e1814362df6c9497d75283654d2a8f297db
regulator: Don't add the function name to pr_fmt

Liam pointed out via IM that since we now use the pure function name for
all regulator logging a lot of the messages such as those logging the
constraints are getting a bit noisy due to the implementation detail
that is the function name:

print_constraints: VDDARM: 1000 <--> 1300 mV at 1300 mV at 0 mA

In discussion it seemed like the best thing was to just drop the pr_fmt
and clarify individual log messages where there is an issue otherwise
we get into silly things like renaming the functions to suit the logging.

This is mostly an issue as we have a moderate amount of non-error logging
in the boot sequence to aid debug if something goes wrong since regulator
misconfiguration can kill the system pretty quickly.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
drivers/regulator/core.c