]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
cpufreq: cpufreq-dt: Move newline to end of error message
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 23 Oct 2014 09:52:54 +0000 (11:52 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 20 Nov 2014 14:00:32 +0000 (15:00 +0100)
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>
drivers/cpufreq/cpufreq-dt.c

index f657c571b18e4e6baaa52250640aac4e1fa26267..a023abfab4bd8d5e7cfc1387f304ce92fd111bd2 100644 (file)
@@ -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;
        }