Merge tag 'nolibc.2022.07.27a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulm...
[linux-2.6-microblaze.git] / drivers / clocksource / timer-probe.c
index a10f28d..b7860bc 100644 (file)
@@ -11,7 +11,7 @@
 extern struct of_device_id __timer_of_table[];
 
 static const struct of_device_id __timer_of_table_sentinel
-       __used __section(__timer_of_table_end);
+       __used __section("__timer_of_table_end");
 
 void __init timer_probe(void)
 {
@@ -27,10 +27,8 @@ void __init timer_probe(void)
 
                init_func_ret = match->data;
 
-               of_node_set_flag(np, OF_POPULATED);
                ret = init_func_ret(np);
                if (ret) {
-                       of_node_clear_flag(np, OF_POPULATED);
                        if (ret != -EPROBE_DEFER)
                                pr_err("Failed to initialize '%pOF': %d\n", np,
                                       ret);