diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-10-17 00:15:18 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-11-01 19:47:43 -0500 |
commit | d6d2a5289a530a3020703e6a3b19a14668601c27 (patch) | |
tree | 3ae851efd5b24c09e1ca071e74fff44a07273d50 /drivers/base/power/opp/core.c | |
parent | a6eed752f5fb40990eb28fddb2b93258fb7e3be0 (diff) |
PM / OPP: Improve print messages with pr_fmt
To identify OPP core's print messages easily, prefix them with
KBUILD_MODNAME.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base/power/opp/core.c')
-rw-r--r-- | drivers/base/power/opp/core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/base/power/opp/core.c b/drivers/base/power/opp/core.c index a731fa66e504..60ae6f029499 100644 --- a/drivers/base/power/opp/core.c +++ b/drivers/base/power/opp/core.c | |||
@@ -11,6 +11,8 @@ | |||
11 | * published by the Free Software Foundation. | 11 | * published by the Free Software Foundation. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||
15 | |||
14 | #include <linux/errno.h> | 16 | #include <linux/errno.h> |
15 | #include <linux/err.h> | 17 | #include <linux/err.h> |
16 | #include <linux/slab.h> | 18 | #include <linux/slab.h> |