Commit 4c232f94 authored by Colin Ian King's avatar Colin Ian King Committed by Rafael J. Wysocki

cpufreq: kirkwood: add missing \n to end of dev_err messages

Trival fix, dev_err messages are missing a \n, so add it.
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent f89f4147
...@@ -123,7 +123,7 @@ static int kirkwood_cpufreq_probe(struct platform_device *pdev) ...@@ -123,7 +123,7 @@ static int kirkwood_cpufreq_probe(struct platform_device *pdev)
priv.cpu_clk = of_clk_get_by_name(np, "cpu_clk"); priv.cpu_clk = of_clk_get_by_name(np, "cpu_clk");
if (IS_ERR(priv.cpu_clk)) { if (IS_ERR(priv.cpu_clk)) {
dev_err(priv.dev, "Unable to get cpuclk"); dev_err(priv.dev, "Unable to get cpuclk\n");
return PTR_ERR(priv.cpu_clk); return PTR_ERR(priv.cpu_clk);
} }
...@@ -132,7 +132,7 @@ static int kirkwood_cpufreq_probe(struct platform_device *pdev) ...@@ -132,7 +132,7 @@ static int kirkwood_cpufreq_probe(struct platform_device *pdev)
priv.ddr_clk = of_clk_get_by_name(np, "ddrclk"); priv.ddr_clk = of_clk_get_by_name(np, "ddrclk");
if (IS_ERR(priv.ddr_clk)) { if (IS_ERR(priv.ddr_clk)) {
dev_err(priv.dev, "Unable to get ddrclk"); dev_err(priv.dev, "Unable to get ddrclk\n");
err = PTR_ERR(priv.ddr_clk); err = PTR_ERR(priv.ddr_clk);
goto out_cpu; goto out_cpu;
} }
...@@ -142,7 +142,7 @@ static int kirkwood_cpufreq_probe(struct platform_device *pdev) ...@@ -142,7 +142,7 @@ static int kirkwood_cpufreq_probe(struct platform_device *pdev)
priv.powersave_clk = of_clk_get_by_name(np, "powersave"); priv.powersave_clk = of_clk_get_by_name(np, "powersave");
if (IS_ERR(priv.powersave_clk)) { if (IS_ERR(priv.powersave_clk)) {
dev_err(priv.dev, "Unable to get powersave"); dev_err(priv.dev, "Unable to get powersave\n");
err = PTR_ERR(priv.powersave_clk); err = PTR_ERR(priv.powersave_clk);
goto out_ddr; goto out_ddr;
} }
...@@ -155,7 +155,7 @@ static int kirkwood_cpufreq_probe(struct platform_device *pdev) ...@@ -155,7 +155,7 @@ static int kirkwood_cpufreq_probe(struct platform_device *pdev)
if (!err) if (!err)
return 0; return 0;
dev_err(priv.dev, "Failed to register cpufreq driver"); dev_err(priv.dev, "Failed to register cpufreq driver\n");
clk_disable_unprepare(priv.powersave_clk); clk_disable_unprepare(priv.powersave_clk);
out_ddr: out_ddr:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment