projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d6ab9b
)
ARM: smp_twd: don't warn on no DT node
author
Rob Herring
<rob.herring@calxeda.com>
Thu, 25 Oct 2012 18:53:09 +0000
(13:53 -0500)
committer
Rob Herring
<rob.herring@calxeda.com>
Wed, 31 Oct 2012 18:46:30 +0000
(13:46 -0500)
Not having a TWD is valid if we have multiple platforms with different
cores, so remove the warning message.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/kernel/smp_twd.c
patch
|
blob
|
history
diff --git
a/arch/arm/kernel/smp_twd.c
b/arch/arm/kernel/smp_twd.c
index b22d700fea2751c60b5dbad689ee0b18305108b3..6ec73f91a1d6f858f719102d1c608afb8bb47d63 100644
(file)
--- a/
arch/arm/kernel/smp_twd.c
+++ b/
arch/arm/kernel/smp_twd.c
@@
-366,10
+366,8
@@
void __init twd_local_timer_of_register(void)
int err;
np = of_find_matching_node(NULL, twd_of_match);
- if (!np) {
- err = -ENODEV;
- goto out;
- }
+ if (!np)
+ return -ENODEV;
twd_ppi = irq_of_parse_and_map(np, 0);
if (!twd_ppi) {