summaryrefslogtreecommitdiff
path: root/drivers/clocksource/timer-atmel-pit.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/timer-atmel-pit.c
parent9a4914ce0dff47b53df9ffbf9f48120b86ccb4a3 (diff)
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-atmel-pit.c')
-rw-r--r--drivers/clocksource/timer-atmel-pit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/timer-atmel-pit.c b/drivers/clocksource/timer-atmel-pit.c
index c0b5df3167a0..cc112351dc70 100644
--- a/drivers/clocksource/timer-atmel-pit.c
+++ b/drivers/clocksource/timer-atmel-pit.c
@@ -226,7 +226,7 @@ static int __init at91sam926x_pit_dt_init(struct device_node *node)
ret = clocksource_register_hz(&data->clksrc, pit_rate);
if (ret) {
- pr_err("Failed to register clocksource");
+ pr_err("Failed to register clocksource\n");
return ret;
}