Commit 0336517b authored by Rob Herring's avatar Rob Herring
Browse files

ARM: smp_twd: don't warn on no DT node



Not having a TWD is valid if we have multiple platforms with different
cores, so remove the warning message.

Signed-off-by: default avatarRob Herring <rob.herring@calxeda.com>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 7d6ab9b8
Loading
Loading
Loading
Loading
+2 −4
Original line number Original line Diff line number Diff line
@@ -366,10 +366,8 @@ void __init twd_local_timer_of_register(void)
	int err;
	int err;


	np = of_find_matching_node(NULL, twd_of_match);
	np = of_find_matching_node(NULL, twd_of_match);
	if (!np) {
	if (!np)
		err = -ENODEV;
		return -ENODEV;
		goto out;
	}


	twd_ppi = irq_of_parse_and_map(np, 0);
	twd_ppi = irq_of_parse_and_map(np, 0);
	if (!twd_ppi) {
	if (!twd_ppi) {