clocksource/drivers/samsung_pwm_timer: Add missing \n to end of error messages
Subsystems (2)
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.
Signed-off-by Colin Ian King <[email protected]>
--- drivers/clocksource/samsung_pwm_timer.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/clocksource/samsung_pwm_timer.c +4 -4
@@ -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