Browse Source

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>
Geert Uytterhoeven 11 years ago
parent
commit
edd52b1c39
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/cpufreq/cpufreq-dt.c

+ 1 - 1
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;
 	}