mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
b49c22a6ca
commit
1c5864e26c
25 changed files with 181 additions and 146 deletions
|
@ -10,6 +10,8 @@
|
|||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
||||
|
||||
#include <linux/init.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/interrupt.h>
|
||||
|
@ -356,7 +358,7 @@ struct clk *s3c_cpufreq_clk_get(struct device *dev, const char *name)
|
|||
|
||||
clk = clk_get(dev, name);
|
||||
if (IS_ERR(clk))
|
||||
pr_err("cpufreq: failed to get clock '%s'\n", name);
|
||||
pr_err("failed to get clock '%s'\n", name);
|
||||
|
||||
return clk;
|
||||
}
|
||||
|
@ -665,9 +667,9 @@ int s3c_plltab_register(struct cpufreq_frequency_table *plls,
|
|||
vals += plls_no;
|
||||
vals->frequency = CPUFREQ_TABLE_END;
|
||||
|
||||
pr_info("cpufreq: %d PLL entries\n", plls_no);
|
||||
pr_info("%d PLL entries\n", plls_no);
|
||||
} else
|
||||
pr_err("cpufreq: no memory for PLL tables\n");
|
||||
pr_err("no memory for PLL tables\n");
|
||||
|
||||
return vals ? 0 : -ENOMEM;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue