Skip to content

Commit

Permalink
cpufreq: SPEAr: pr_err() strings should end with newlines
Browse files Browse the repository at this point in the history
pr_err() messages should terminated with a new-line to avoid
other messages being concatenated onto the end.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Arvind Yadav authored and Rafael J. Wysocki committed Oct 3, 2017
1 parent 86d806b commit 699b525
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/cpufreq/spear-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ static int spear_cpufreq_probe(struct platform_device *pdev)

np = of_cpu_device_node_get(0);
if (!np) {
pr_err("No cpu node found");
pr_err("No cpu node found\n");
return -ENODEV;
}

Expand All @@ -187,7 +187,7 @@ static int spear_cpufreq_probe(struct platform_device *pdev)

prop = of_find_property(np, "cpufreq_tbl", NULL);
if (!prop || !prop->value) {
pr_err("Invalid cpufreq_tbl");
pr_err("Invalid cpufreq_tbl\n");
ret = -ENODEV;
goto out_put_node;
}
Expand Down

0 comments on commit 699b525

Please sign in to comment.