summaryrefslogtreecommitdiff
path: root/drivers/clocksource/timer-nps.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2017-04-17 10:55:14 +0200
committerThomas Gleixner <tglx@linutronix.de>2017-04-17 10:55:14 +0200
commit821596a50aba6873ff4ea8fdf2b1515638c3c8a3 (patch)
treedf74b2e08494cc321e7752b191055a511c90ff97 /drivers/clocksource/timer-nps.c
parent2886a734081ed31f3279550ea9d50ef1d84a84e6 (diff)
parent6f9c89000c3f771c47adacaca2df775a25f27205 (diff)
Merge branch 'clockevents/4.12' of https://git.linaro.org/people/daniel.lezcano/linux into timers/core
Pull clockevents updates from Daniel Lezcano - Provide a framework to handle errata gracefuly for arm_arch_timer (Mark Zyngier) - Clarify the DT properties for the rockchip timer and add the clocksource as an alternative to the bogus architected timer (Alexander Kochetkov) - Rename the Gemini timer to Faraday timer fttmr010 and provide a specific initialization for Gemini (Linus Walleij) - Add missing newlines in the error message in the timers (Rafał Miłecki) - Read the clock once and implement the delay timer on Orion (Russell King)
Diffstat (limited to 'drivers/clocksource/timer-nps.c')
-rw-r--r--drivers/clocksource/timer-nps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/clocksource/timer-nps.c b/drivers/clocksource/timer-nps.c
index da1f7986e477..e74ea1722ad3 100644
--- a/drivers/clocksource/timer-nps.c
+++ b/drivers/clocksource/timer-nps.c
@@ -55,7 +55,7 @@ static int __init nps_get_timer_clk(struct device_node *node,
*clk = of_clk_get(node, 0);
ret = PTR_ERR_OR_ZERO(*clk);
if (ret) {
- pr_err("timer missing clk");
+ pr_err("timer missing clk\n");
return ret;
}
@@ -247,7 +247,7 @@ static int __init nps_setup_clockevent(struct device_node *node)
nps_timer0_irq = irq_of_parse_and_map(node, 0);
if (nps_timer0_irq <= 0) {
- pr_err("clockevent: missing irq");
+ pr_err("clockevent: missing irq\n");
return -EINVAL;
}
@@ -270,7 +270,7 @@ static int __init nps_setup_clockevent(struct device_node *node)
nps_timer_starting_cpu,
nps_timer_dying_cpu);
if (ret) {
- pr_err("Failed to setup hotplug state");
+ pr_err("Failed to setup hotplug state\n");
clk_disable_unprepare(clk);
free_percpu_irq(nps_timer0_irq, &nps_clockevent_device);
return ret;