Skip to contentSkip to conversation

clocksource/drivers/samsung_pwm_timer: Add missing \n to end of error messages

PATCH New Colin King 1 participant 1 message Sep 16, 2016

Subsystems (2)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 clocksource/drivers/samsung_pwm_timer: Add missing \n to end of error messages

From: Colin Ian King <[email protected]>

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

---
 drivers/clocksource/samsung_pwm_timer.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/clocksource/samsung_pwm_timer.c +4 -4
index 54565bd..ae28d09 100644
@@ -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);
 	}
 
Signature · 1 line
2.9.3