From: Geert Uytterhoeven Date: Thu, 23 Oct 2014 09:52:54 +0000 (+0200) Subject: cpufreq: cpufreq-dt: Move newline to end of error message X-Git-Tag: v3.19-rc1~106^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=edd52b1c39ea3ddb1c814d1d5cd9cc4843a04c01;p=karo-tx-linux.git 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 Acked-by: Viresh Kumar Signed-off-by: Jiri Kosina --- 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; }