diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-09-25 04:16:40 -0400 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2017-10-19 17:49:01 -0400 |
commit | 3c044a15ff2e4ba97eb14d772510eba974c6db58 (patch) | |
tree | 36f233514bcbf33cc475028093bdad786eb0f908 /drivers/clocksource/owl-timer.c | |
parent | 1893428bd8d14e88facdf745479be0130753f6e9 (diff) |
clocksource/drivers/owl: pr_err() strings should end with newlines
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>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource/owl-timer.c')
-rw-r--r-- | drivers/clocksource/owl-timer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clocksource/owl-timer.c b/drivers/clocksource/owl-timer.c index d19c53c11094..c68630565079 100644 --- a/drivers/clocksource/owl-timer.c +++ b/drivers/clocksource/owl-timer.c | |||
@@ -125,7 +125,7 @@ static int __init owl_timer_init(struct device_node *node) | |||
125 | 125 | ||
126 | owl_timer_base = of_io_request_and_map(node, 0, "owl-timer"); | 126 | owl_timer_base = of_io_request_and_map(node, 0, "owl-timer"); |
127 | if (IS_ERR(owl_timer_base)) { | 127 | if (IS_ERR(owl_timer_base)) { |
128 | pr_err("Can't map timer registers"); | 128 | pr_err("Can't map timer registers\n"); |
129 | return PTR_ERR(owl_timer_base); | 129 | return PTR_ERR(owl_timer_base); |
130 | } | 130 | } |
131 | 131 | ||
@@ -134,7 +134,7 @@ static int __init owl_timer_init(struct device_node *node) | |||
134 | 134 | ||
135 | timer1_irq = of_irq_get_byname(node, "timer1"); | 135 | timer1_irq = of_irq_get_byname(node, "timer1"); |
136 | if (timer1_irq <= 0) { | 136 | if (timer1_irq <= 0) { |
137 | pr_err("Can't parse timer1 IRQ"); | 137 | pr_err("Can't parse timer1 IRQ\n"); |
138 | return -EINVAL; | 138 | return -EINVAL; |
139 | } | 139 | } |
140 | 140 | ||