aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq-dt.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2014-10-23 11:52:54 +0200
committerJiri Kosina <jkosina@suse.cz>2014-11-20 15:00:32 +0100
commitedd52b1c39ea3ddb1c814d1d5cd9cc4843a04c01 (patch)
treea3169cbef9a9b75435e9f44008f5f4082499d10c /drivers/cpufreq/cpufreq-dt.c
parentps3rom: fix error return code (diff)
downloadlinux-dev-edd52b1c39ea3ddb1c814d1d5cd9cc4843a04c01.tar.xz
linux-dev-edd52b1c39ea3ddb1c814d1d5cd9cc4843a04c01.zip
cpufreq: cpufreq-dt: Move newline to end of error message
Currently the error message is needlessly splitted across two lines. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/cpufreq/cpufreq-dt.c')
-rw-r--r--drivers/cpufreq/cpufreq-dt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq-dt.c b/drivers/cpufreq/cpufreq-dt.c
index f657c571b18e..a023abfab4bd 100644
--- a/drivers/cpufreq/cpufreq-dt.c
+++ b/drivers/cpufreq/cpufreq-dt.c
@@ -193,7 +193,7 @@ static int cpufreq_init(struct cpufreq_policy *policy)
ret = allocate_resources(policy->cpu, &cpu_dev, &cpu_reg, &cpu_clk);
if (ret) {
- pr_err("%s: Failed to allocate resources\n: %d", __func__, ret);
+ pr_err("%s: Failed to allocate resources: %d\n", __func__, ret);
return ret;
}