summaryrefslogtreecommitdiff
path: root/drivers/clocksource/time-orion.c
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-03-09 12:47:10 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2017-04-07 17:23:04 +0300
commitac9ce6d1a0cc29767932d9f2fcb8ebc97c5106c8 (patch)
treebd0e341ec2a98893b8d4c136cf03063425d7ba64 /drivers/clocksource/time-orion.c
parent9a4914ce0dff47b53df9ffbf9f48120b86ccb4a3 (diff)
downloadlinux-ac9ce6d1a0cc29767932d9f2fcb8ebc97c5106c8.tar.xz
clocksource: Add missing line break to error messages
Printing with pr_* functions requires adding line break manually. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource/time-orion.c')
-rw-r--r--drivers/clocksource/time-orion.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clocksource/time-orion.c b/drivers/clocksource/time-orion.c
index 7eb2ab0bd114..b9b97f630c4d 100644
--- a/drivers/clocksource/time-orion.c
+++ b/drivers/clocksource/time-orion.c
@@ -141,7 +141,7 @@ static int __init orion_timer_init(struct device_node *np)
ret = clk_prepare_enable(clk);
if (ret) {
- pr_err("Failed to prepare clock");
+ pr_err("Failed to prepare clock\n");
return ret;
}
@@ -165,7 +165,7 @@ static int __init orion_timer_init(struct device_node *np)
"orion_clocksource", rate, 300, 32,
clocksource_mmio_readl_down);
if (ret) {
- pr_err("Failed to initialize mmio timer");
+ pr_err("Failed to initialize mmio timer\n");
return ret;
}