forked from luck/tmp_suning_uos_patched
power: reset: Convert to using %pOFn instead of device_node.name
In preparation to remove the node name pointer from struct device_node, convert printf users to use the %pOFn format specifier. Cc: Sebastian Reichel <sre@kernel.org> Cc: linux-pm@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
parent
acfe63ec1c
commit
e31d0fc6fd
|
@ -65,7 +65,7 @@ static int axxia_reset_probe(struct platform_device *pdev)
|
|||
|
||||
syscon = syscon_regmap_lookup_by_phandle(dev->of_node, "syscon");
|
||||
if (IS_ERR(syscon)) {
|
||||
pr_err("%s: syscon lookup failed\n", dev->of_node->name);
|
||||
pr_err("%pOFn: syscon lookup failed\n", dev->of_node);
|
||||
return PTR_ERR(syscon);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user