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:

committed by
Daniel Lezcano

parent
9a4914ce0d
commit
ac9ce6d1a0
@@ -260,25 +260,25 @@ static int __init nmdk_timer_of_init(struct device_node *node)
|
||||
|
||||
base = of_iomap(node, 0);
|
||||
if (!base) {
|
||||
pr_err("Can't remap registers");
|
||||
pr_err("Can't remap registers\n");
|
||||
return -ENXIO;
|
||||
}
|
||||
|
||||
pclk = of_clk_get_by_name(node, "apb_pclk");
|
||||
if (IS_ERR(pclk)) {
|
||||
pr_err("could not get apb_pclk");
|
||||
pr_err("could not get apb_pclk\n");
|
||||
return PTR_ERR(pclk);
|
||||
}
|
||||
|
||||
clk = of_clk_get_by_name(node, "timclk");
|
||||
if (IS_ERR(clk)) {
|
||||
pr_err("could not get timclk");
|
||||
pr_err("could not get timclk\n");
|
||||
return PTR_ERR(clk);
|
||||
}
|
||||
|
||||
irq = irq_of_parse_and_map(node, 0);
|
||||
if (irq <= 0) {
|
||||
pr_err("Can't parse IRQ");
|
||||
pr_err("Can't parse IRQ\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user