diff mbox series

[10/17] clocksource/drivers/rockchip: pr_err() strings should end with newlines

Message ID 1509312035-17368-10-git-send-email-daniel.lezcano@linaro.org
State Accepted
Commit 2554828b17ad16892cdd1becb43230782f0c0cfd
Headers show
Series [01/17] dt-bindings: timer: renesas, cmt: Fix SoC-specific compatible values | expand

Commit Message

Daniel Lezcano Oct. 29, 2017, 9:20 p.m. UTC
From: Arvind Yadav <arvind.yadav.cs@gmail.com>


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: Daniel Lezcano <daniel.lezcano@linaro.org>

---
 drivers/clocksource/rockchip_timer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.7.4
diff mbox series

Patch

diff --git a/drivers/clocksource/rockchip_timer.c b/drivers/clocksource/rockchip_timer.c
index c27f4c8..33f370d 100644
--- a/drivers/clocksource/rockchip_timer.c
+++ b/drivers/clocksource/rockchip_timer.c
@@ -274,7 +274,7 @@  static int __init rk_clksrc_init(struct device_node *np)
 		TIMER_NAME, rk_clksrc->freq, 250, 32,
 		clocksource_mmio_readl_down);
 	if (ret) {
-		pr_err("Failed to register clocksource");
+		pr_err("Failed to register clocksource\n");
 		goto out_clocksource;
 	}