clk: SPEAr: pr_err() strings should end with newlines
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Fri, 24 Nov 2017 06:55:30 +0000 (12:25 +0530)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 7 Dec 2017 06:39:57 +0000 (22:39 -0800)
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>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/spear/clk-frac-synth.c

index 229c96d..f5be022 100644 (file)
@@ -131,7 +131,7 @@ struct clk *clk_register_frac(const char *name, const char *parent_name,
        struct clk *clk;
 
        if (!name || !parent_name || !reg || !rtbl || !rtbl_cnt) {
-               pr_err("Invalid arguments passed");
+               pr_err("Invalid arguments passed\n");
                return ERR_PTR(-EINVAL);
        }