summaryrefslogtreecommitdiff
path: root/drivers/clk/h8300/clk-h8s2678.c
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-11-24 09:55:32 +0300
committerStephen Boyd <sboyd@codeaurora.org>2017-12-07 09:40:01 +0300
commit3509ec1c3c440dd51c4d24f5fffd0b2f08b929c3 (patch)
tree8f2a910eb0cc7520bf7dbc198a15b66537d0f2dc /drivers/clk/h8300/clk-h8s2678.c
parentfd1ced19412fa2c7163efa9c58a6073f6ca88340 (diff)
downloadlinux-3509ec1c3c440dd51c4d24f5fffd0b2f08b929c3.tar.xz
clk: h8s2678: pr_err() strings should end with newlines
pr_err() messages should end with a new-line to avoid other messages being concatenated. Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/h8300/clk-h8s2678.c')
-rw-r--r--drivers/clk/h8300/clk-h8s2678.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/clk/h8300/clk-h8s2678.c b/drivers/clk/h8300/clk-h8s2678.c
index fc24b0b55a3d..b68045d8b921 100644
--- a/drivers/clk/h8300/clk-h8s2678.c
+++ b/drivers/clk/h8300/clk-h8s2678.c
@@ -93,7 +93,7 @@ static void __init h8s2678_pll_clk_setup(struct device_node *node)
num_parents = of_clk_get_parent_count(node);
if (!num_parents) {
- pr_err("%s: no parent found", clk_name);
+ pr_err("%s: no parent found\n", clk_name);
return;
}
@@ -104,13 +104,13 @@ static void __init h8s2678_pll_clk_setup(struct device_node *node)
pll_clock->sckcr = of_iomap(node, 0);
if (pll_clock->sckcr == NULL) {
- pr_err("%s: failed to map divide register", clk_name);
+ pr_err("%s: failed to map divide register\n", clk_name);
goto free_clock;
}
pll_clock->pllcr = of_iomap(node, 1);
if (pll_clock->pllcr == NULL) {
- pr_err("%s: failed to map multiply register", clk_name);
+ pr_err("%s: failed to map multiply register\n", clk_name);
goto unmap_sckcr;
}