Message ID | 1414759173-4664-1-git-send-email-a.kesavan@samsung.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
On Friday, October 31, 2014 06:09:33 PM Abhilash Kesavan wrote: > Fix the swapped arguments in the clock failure dev_err. > > Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com> Applied, thanks! > --- > drivers/cpufreq/cpufreq-dt.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/cpufreq/cpufreq-dt.c b/drivers/cpufreq/cpufreq-dt.c > index 23aaf40..f657c57 100644 > --- 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; >
diff --git a/drivers/cpufreq/cpufreq-dt.c b/drivers/cpufreq/cpufreq-dt.c index 23aaf40..f657c57 100644 --- 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;
Fix the swapped arguments in the clock failure dev_err. Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com> --- drivers/cpufreq/cpufreq-dt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)