From: Colin Ian King <colin.k...@canonical.com>

Trival fix, several error messages are missing a \n, so add it.

Signed-off-by: Colin Ian King <colin.k...@canonical.com>
---
 drivers/clocksource/samsung_pwm_timer.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/clocksource/samsung_pwm_timer.c 
b/drivers/clocksource/samsung_pwm_timer.c
index 54565bd..ae28d09 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;
@@ -413,7 +413,7 @@ void __init samsung_pwm_clocksource_init(void __iomem *base,
 
        pwm.timerclk = clk_get(NULL, "timers");
        if (IS_ERR(pwm.timerclk))
-               panic("failed to get timers clock for timer");
+               panic("failed to get timers clock for timer\n");
 
        _samsung_pwm_clocksource_init();
 }
@@ -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);
        }
 
-- 
2.9.3

Reply via email to