.. | .. |
---|
64 | 64 | ret = of_property_read_string(node, "function", &function_name); |
---|
65 | 65 | if (ret) { |
---|
66 | 66 | dev_err(pctrl->dev, |
---|
67 | | - "missing function property in node %s\n", |
---|
68 | | - node->name); |
---|
| 67 | + "missing function property in node %pOFn\n", node); |
---|
69 | 68 | return -EINVAL; |
---|
70 | 69 | } |
---|
71 | 70 | |
---|
72 | 71 | ngroups = of_property_count_strings(node, "groups"); |
---|
73 | 72 | if (ngroups < 0) { |
---|
74 | 73 | dev_err(pctrl->dev, |
---|
75 | | - "missing groups property in node %s\n", |
---|
76 | | - node->name); |
---|
| 74 | + "missing groups property in node %pOFn\n", node); |
---|
77 | 75 | return -EINVAL; |
---|
78 | 76 | } |
---|
79 | 77 | |
---|