mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
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>
This commit is contained in:
parent
9a4914ce0d
commit
ac9ce6d1a0
25 changed files with 65 additions and 65 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue