[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20160916101722.25564-1-colin.king@canonical.com>
Date: Fri, 16 Sep 2016 11:17:22 +0100
From: Colin King <colin.king@...onical.com>
To: trivial@...nel.org, Daniel Lezcano <daniel.lezcano@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] clocksource/drivers/samsung_pwm_timer: Add missing \n to end of error messages
From: Colin Ian King <colin.king@...onical.com>
Trival fix, several error messages are missing a \n, so add it.
Signed-off-by: Colin Ian King <colin.king@...onical.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
Powered by blists - more mailing lists