projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0df1f24
)
cpufreq: cpufreq-dt: Fix arguments in clock failure error message
author
Abhilash Kesavan
<a.kesavan@samsung.com>
Fri, 31 Oct 2014 12:39:33 +0000
(18:09 +0530)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Wed, 5 Nov 2014 19:51:21 +0000
(20:51 +0100)
Fix the swapped arguments in the clock failure dev_err.
Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq-dt.c
patch
|
blob
|
history
diff --git
a/drivers/cpufreq/cpufreq-dt.c
b/drivers/cpufreq/cpufreq-dt.c
index 23aaf40cf37f5b6b7e5416a0125e62d581864079..f657c571b18e4e6baaa52250640aac4e1fa26267 100644
(file)
--- a/
drivers/cpufreq/cpufreq-dt.c
+++ b/
drivers/cpufreq/cpufreq-dt.c
@@
-166,8
+166,8
@@
try_again:
if (ret == -EPROBE_DEFER)
dev_dbg(cpu_dev, "cpu%d clock not ready, retry\n", cpu);
else
- dev_err(cpu_dev, "failed to get cpu%d clock: %d\n",
ret
,
-
cpu
);
+ dev_err(cpu_dev, "failed to get cpu%d clock: %d\n",
cpu
,
+
ret
);
} else {
*cdev = cpu_dev;
*creg = cpu_reg;