diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2017-03-09 10:47:10 +0100 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2017-04-07 16:23:04 +0200 |
commit | ac9ce6d1a0cc29767932d9f2fcb8ebc97c5106c8 (patch) | |
tree | bd0e341ec2a98893b8d4c136cf03063425d7ba64 /drivers/clocksource/timer-sun5i.c | |
parent | 9a4914ce0dff47b53df9ffbf9f48120b86ccb4a3 (diff) | |
download | blackbird-obmc-linux-ac9ce6d1a0cc29767932d9f2fcb8ebc97c5106c8.tar.gz blackbird-obmc-linux-ac9ce6d1a0cc29767932d9f2fcb8ebc97c5106c8.zip |
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/timer-sun5i.c')
-rw-r--r-- | drivers/clocksource/timer-sun5i.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/clocksource/timer-sun5i.c b/drivers/clocksource/timer-sun5i.c index a3e662b15964..2e9c830ae1cd 100644 --- a/drivers/clocksource/timer-sun5i.c +++ b/drivers/clocksource/timer-sun5i.c @@ -332,19 +332,19 @@ static int __init sun5i_timer_init(struct device_node *node) timer_base = of_io_request_and_map(node, 0, of_node_full_name(node)); if (IS_ERR(timer_base)) { - pr_err("Can't map registers"); + pr_err("Can't map registers\n"); return PTR_ERR(timer_base);; } irq = irq_of_parse_and_map(node, 0); if (irq <= 0) { - pr_err("Can't parse IRQ"); + pr_err("Can't parse IRQ\n"); return -EINVAL; } clk = of_clk_get(node, 0); if (IS_ERR(clk)) { - pr_err("Can't get timer clock"); + pr_err("Can't get timer clock\n"); return PTR_ERR(clk); } |