Skip to content

Commit

Permalink
cpufreq: kirkwood: add missing \n to end of dev_err messages
Browse files Browse the repository at this point in the history
Trival fix, dev_err messages are missing a \n, so add it.

Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
  • Loading branch information
Colin Ian King authored and rafaeljw committed Sep 26, 2016
1 parent f89f414 commit 4c232f9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/cpufreq/kirkwood-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ static int kirkwood_cpufreq_probe(struct platform_device *pdev)

priv.cpu_clk = of_clk_get_by_name(np, "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);
}

Expand All @@ -132,7 +132,7 @@ static int kirkwood_cpufreq_probe(struct platform_device *pdev)

priv.ddr_clk = of_clk_get_by_name(np, "ddrclk");
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);
goto out_cpu;
}
Expand All @@ -142,7 +142,7 @@ static int kirkwood_cpufreq_probe(struct platform_device *pdev)

priv.powersave_clk = of_clk_get_by_name(np, "powersave");
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);
goto out_ddr;
}
Expand All @@ -155,7 +155,7 @@ static int kirkwood_cpufreq_probe(struct platform_device *pdev)
if (!err)
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);
out_ddr:
Expand Down

0 comments on commit 4c232f9

Please sign in to comment.