phy: 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: Kishon Vijay Abraham I <kishon@ti.com> Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
This commit is contained in:

committed by
Kishon Vijay Abraham I

parent
fcd0eec4f5
commit
ac9ba7dc86
@@ -115,8 +115,8 @@ int tegra_xusb_lane_parse_dt(struct tegra_xusb_lane *lane,
|
||||
|
||||
err = match_string(lane->soc->funcs, lane->soc->num_funcs, function);
|
||||
if (err < 0) {
|
||||
dev_err(dev, "invalid function \"%s\" for lane \"%s\"\n",
|
||||
function, np->name);
|
||||
dev_err(dev, "invalid function \"%s\" for lane \"%pOFn\"\n",
|
||||
function, np);
|
||||
return err;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user