cpufreq: Use consistent prefixing via pr_fmt
Use the more common kernel style adding a define for pr_fmt. Miscellanea: o Remove now unused PFX defines Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:

committed by
Rafael J. Wysocki

parent
b49c22a6ca
commit
1c5864e26c
@@ -12,6 +12,8 @@
|
||||
* SPEEDSTEP - DEFINITIONS *
|
||||
*********************************************************************/
|
||||
|
||||
#define pr_fmt(fmt) "cpufreq: " fmt
|
||||
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/moduleparam.h>
|
||||
@@ -204,7 +206,7 @@ static void speedstep_set_state(unsigned int state)
|
||||
(speedstep_freqs[new_state].frequency / 1000),
|
||||
retry, result);
|
||||
else
|
||||
pr_err("cpufreq: change to state %u failed with new_state %u and result %u\n",
|
||||
pr_err("change to state %u failed with new_state %u and result %u\n",
|
||||
state, new_state, result);
|
||||
|
||||
return;
|
||||
|
Reference in New Issue
Block a user