projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83cba95
)
clocksource/drivers/arc_timer: Remove duplicate error message
author
Dejin Zheng
<zhengdejin5@gmail.com>
Wed, 29 Apr 2020 15:12:23 +0000
(23:12 +0800)
committer
Daniel Lezcano
<daniel.lezcano@linaro.org>
Fri, 22 May 2020 21:58:56 +0000
(23:58 +0200)
The function arc_get_timer_clk() prints an error message if it fails,
remove the second error message if the function fails.
Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link:
https://lore.kernel.org/r/20200429151223.3120-1-zhengdejin5@gmail.com
drivers/clocksource/arc_timer.c
patch
|
blob
|
history
diff --git
a/drivers/clocksource/arc_timer.c
b/drivers/clocksource/arc_timer.c
index b29b5a75333ebfad968ef5a70f38a9471c1056be..de93dd1a8c7b988a823bd0c518847ebce81e19d0 100644
(file)
--- a/
drivers/clocksource/arc_timer.c
+++ b/
drivers/clocksource/arc_timer.c
@@
-334,10
+334,8
@@
static int __init arc_clockevent_setup(struct device_node *node)
}
ret = arc_get_timer_clk(node);
- if (ret) {
- pr_err("clockevent: missing clk\n");
+ if (ret)
return ret;
- }
/* Needs apriori irq_set_percpu_devid() done in intc map function */
ret = request_percpu_irq(arc_timer_irq, timer_irq_handler,