summaryrefslogtreecommitdiff
path: root/drivers/clk/h8300
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-11-24 09:55:33 +0300
committerStephen Boyd <sboyd@codeaurora.org>2017-12-07 09:40:02 +0300
commit1f7e655cbcf589f706e5bfffe672722dbe2390eb (patch)
tree29a0c631234333a24ab2333c9b008b3ccf457786 /drivers/clk/h8300
parent3509ec1c3c440dd51c4d24f5fffd0b2f08b929c3 (diff)
downloadlinux-1f7e655cbcf589f706e5bfffe672722dbe2390eb.tar.xz
clk: h8300: 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')
-rw-r--r--drivers/clk/h8300/clk-div.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/h8300/clk-div.c b/drivers/clk/h8300/clk-div.c
index 4ae624425e9d..d413ade95c99 100644
--- a/drivers/clk/h8300/clk-div.c
+++ b/drivers/clk/h8300/clk-div.c
@@ -24,13 +24,13 @@ static void __init h8300_div_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;
}
divcr = of_iomap(node, 0);
if (divcr == NULL) {
- pr_err("%s: failed to map divide register", clk_name);
+ pr_err("%s: failed to map divide register\n", clk_name);
goto error;
}
offset = (unsigned long)divcr & 3;