From: Mark Brown Date: Thu, 9 Feb 2012 13:08:39 +0000 (+0000) Subject: regulator: Don't add the function name to pr_fmt X-Git-Tag: v3.4-rc1~168^2~12 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=43f674a322aa8a3404df5785f84dc1351a5d84b6;p=karo-tx-linux.git 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 Acked-by: Liam Girdwood --- diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index daba2f60f7d9..e3271daa3ab9 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -13,8 +13,6 @@ * */ -#define pr_fmt(fmt) "%s: " fmt, __func__ - #include #include #include