Source
33
33
int ret;
34
34
35
35
for_each_matching_node_and_match(np, __timer_of_table, &match) {
36
36
if (!of_device_is_available(np))
37
37
continue;
38
38
39
39
init_func_ret = match->data;
40
40
41
41
ret = init_func_ret(np);
42
42
if (ret) {
43
-
pr_err("Failed to initialize '%s': %d\n",
44
-
of_node_full_name(np), ret);
43
+
pr_err("Failed to initialize '%pOF': %d\n", np, ret);
45
44
continue;
46
45
}
47
46
48
47
timers++;
49
48
}
50
49
51
50
timers += acpi_probe_device_table(timer);
52
51
53
52
if (!timers)
54
53
pr_crit("%s: no matching timers found\n", __func__);