projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cpufreq: Convert printk(KERN_<LEVEL> to pr_<level>
[cascardo/linux.git]
/
drivers
/
cpufreq
/
s3c2412-cpufreq.c
diff --git
a/drivers/cpufreq/s3c2412-cpufreq.c
b/drivers/cpufreq/s3c2412-cpufreq.c
index
eb26213
..
f9447ba
100644
(file)
--- a/
drivers/cpufreq/s3c2412-cpufreq.c
+++ b/
drivers/cpufreq/s3c2412-cpufreq.c
@@
-197,21
+197,20
@@
static int s3c2412_cpufreq_add(struct device *dev,
hclk = clk_get(NULL, "hclk");
if (IS_ERR(hclk)) {
hclk = clk_get(NULL, "hclk");
if (IS_ERR(hclk)) {
- pr
intk(KERN_ERR
"%s: cannot find hclk clock\n", __func__);
+ pr
_err(
"%s: cannot find hclk clock\n", __func__);
return -ENOENT;
}
fclk = clk_get(NULL, "fclk");
if (IS_ERR(fclk)) {
return -ENOENT;
}
fclk = clk_get(NULL, "fclk");
if (IS_ERR(fclk)) {
- pr
intk(KERN_ERR
"%s: cannot find fclk clock\n", __func__);
+ pr
_err(
"%s: cannot find fclk clock\n", __func__);
goto err_fclk;
}
fclk_rate = clk_get_rate(fclk);
if (fclk_rate > 200000000) {
goto err_fclk;
}
fclk_rate = clk_get_rate(fclk);
if (fclk_rate > 200000000) {
- printk(KERN_INFO
- "%s: fclk %ld MHz, assuming 266MHz capable part\n",
- __func__, fclk_rate / 1000000);
+ pr_info("%s: fclk %ld MHz, assuming 266MHz capable part\n",
+ __func__, fclk_rate / 1000000);
s3c2412_cpufreq_info.max.fclk = 266000000;
s3c2412_cpufreq_info.max.hclk = 133000000;
s3c2412_cpufreq_info.max.pclk = 66000000;
s3c2412_cpufreq_info.max.fclk = 266000000;
s3c2412_cpufreq_info.max.hclk = 133000000;
s3c2412_cpufreq_info.max.pclk = 66000000;
@@
-219,13
+218,13
@@
static int s3c2412_cpufreq_add(struct device *dev,
armclk = clk_get(NULL, "armclk");
if (IS_ERR(armclk)) {
armclk = clk_get(NULL, "armclk");
if (IS_ERR(armclk)) {
- pr
intk(KERN_ERR
"%s: cannot find arm clock\n", __func__);
+ pr
_err(
"%s: cannot find arm clock\n", __func__);
goto err_armclk;
}
xtal = clk_get(NULL, "xtal");
if (IS_ERR(xtal)) {
goto err_armclk;
}
xtal = clk_get(NULL, "xtal");
if (IS_ERR(xtal)) {
- pr
intk(KERN_ERR
"%s: cannot find xtal clock\n", __func__);
+ pr
_err(
"%s: cannot find xtal clock\n", __func__);
goto err_xtal;
}
goto err_xtal;
}