Linux 6.10-rc2
[sfrench/cifs-2.6.git] / drivers / clocksource / timer-probe.c
index a10f28d750a97900f147eff4f58f93c279751e80..b7860bc0db4bb7ddea4980b9525449f50b2ac153 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);