summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/bcm2835_timer.c
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-03-09 10:47:10 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2017-04-07 16:23:04 +0200
commitac9ce6d1a0cc29767932d9f2fcb8ebc97c5106c8 (patch)
treebd0e341ec2a98893b8d4c136cf03063425d7ba64 /drivers/clocksource/bcm2835_timer.c
parent9a4914ce0dff47b53df9ffbf9f48120b86ccb4a3 (diff)
downloadlinux-stable-ac9ce6d1a0cc29767932d9f2fcb8ebc97c5106c8.tar.gz
linux-stable-ac9ce6d1a0cc29767932d9f2fcb8ebc97c5106c8.tar.bz2
linux-stable-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/bcm2835_timer.c')
-rw-r--r--drivers/clocksource/bcm2835_timer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/clocksource/bcm2835_timer.c b/drivers/clocksource/bcm2835_timer.c
index f2f29d2be1cf..dce44307469e 100644
--- a/drivers/clocksource/bcm2835_timer.c
+++ b/drivers/clocksource/bcm2835_timer.c
@@ -89,13 +89,13 @@ static int __init bcm2835_timer_init(struct device_node *node)
base = of_iomap(node, 0);
if (!base) {
- pr_err("Can't remap registers");
+ pr_err("Can't remap registers\n");
return -ENXIO;
}
ret = of_property_read_u32(node, "clock-frequency", &freq);
if (ret) {
- pr_err("Can't read clock-frequency");
+ pr_err("Can't read clock-frequency\n");
goto err_iounmap;
}
@@ -107,7 +107,7 @@ static int __init bcm2835_timer_init(struct device_node *node)
irq = irq_of_parse_and_map(node, DEFAULT_TIMER);
if (irq <= 0) {
- pr_err("Can't parse IRQ");
+ pr_err("Can't parse IRQ\n");
ret = -EINVAL;
goto err_iounmap;
}