summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/samsung_pwm_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/samsung_pwm_timer.c
parent9a4914ce0dff47b53df9ffbf9f48120b86ccb4a3 (diff)
downloadop-kernel-dev-ac9ce6d1a0cc29767932d9f2fcb8ebc97c5106c8.zip
op-kernel-dev-ac9ce6d1a0cc29767932d9f2fcb8ebc97c5106c8.tar.gz
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/samsung_pwm_timer.c')
-rw-r--r--drivers/clocksource/samsung_pwm_timer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/clocksource/samsung_pwm_timer.c b/drivers/clocksource/samsung_pwm_timer.c
index 0093ece..a68e653 100644
--- a/drivers/clocksource/samsung_pwm_timer.c
+++ b/drivers/clocksource/samsung_pwm_timer.c
@@ -385,7 +385,7 @@ static int __init _samsung_pwm_clocksource_init(void)
mask = ~pwm.variant.output_mask & ((1 << SAMSUNG_PWM_NUM) - 1);
channel = fls(mask) - 1;
if (channel < 0) {
- pr_crit("failed to find PWM channel for clocksource");
+ pr_crit("failed to find PWM channel for clocksource\n");
return -EINVAL;
}
pwm.source_id = channel;
@@ -393,7 +393,7 @@ static int __init _samsung_pwm_clocksource_init(void)
mask &= ~(1 << channel);
channel = fls(mask) - 1;
if (channel < 0) {
- pr_crit("failed to find PWM channel for clock event");
+ pr_crit("failed to find PWM channel for clock event\n");
return -EINVAL;
}
pwm.event_id = channel;
@@ -448,7 +448,7 @@ static int __init samsung_pwm_alloc(struct device_node *np,
pwm.timerclk = of_clk_get_by_name(np, "timers");
if (IS_ERR(pwm.timerclk)) {
- pr_crit("failed to get timers clock for timer");
+ pr_crit("failed to get timers clock for timer\n");
return PTR_ERR(pwm.timerclk);
}
OpenPOWER on IntegriCloud