Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c2888431 authored by Viresh Kumar's avatar Viresh Kumar Committed by Alex Shi
Browse files

PM / OPP: Improve print messages with pr_fmt



To identify OPP core's print messages easily, prefix them with
KBUILD_MODNAME.

Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit d6d2a5289a530a3020703e6a3b19a14668601c27)
Signed-off-by: default avatarAlex Shi <alex.shi@linaro.org>
parent b40ddfff
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -11,6 +11,8 @@
 * published by the Free Software Foundation.
 */

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

#include <linux/errno.h>
#include <linux/err.h>
#include <linux/slab.h>
+3 −0
Original line number Diff line number Diff line
@@ -10,6 +10,9 @@
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

#include <linux/cpu.h>
#include <linux/cpufreq.h>
#include <linux/err.h>