Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 699b5252 authored by Arvind Yadav's avatar Arvind Yadav Committed by Rafael J. Wysocki
Browse files

cpufreq: SPEAr: pr_err() strings should end with newlines



pr_err() messages should terminated with a new-line to avoid
other messages being concatenated onto the end.

Signed-off-by: default avatarArvind Yadav <arvind.yadav.cs@gmail.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 86d806b5
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -177,7 +177,7 @@ static int spear_cpufreq_probe(struct platform_device *pdev)


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


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


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