diff options
author | Rob Herring <robh@kernel.org> | 2018-08-28 03:52:40 +0200 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2018-09-25 12:40:07 +0200 |
commit | ac9ba7dc8613773b037a96af24f381ef230ef1ae (patch) | |
tree | 52f20c37784ba1c99c5c5f57ce94eb9d2266eb37 /drivers/phy/tegra | |
parent | dt-bindings: rcar-gen3-phy-usb3: Add r8a774a1 support (diff) | |
download | linux-ac9ba7dc8613773b037a96af24f381ef230ef1ae.tar.xz linux-ac9ba7dc8613773b037a96af24f381ef230ef1ae.zip |
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>
Diffstat (limited to 'drivers/phy/tegra')
-rw-r--r-- | drivers/phy/tegra/xusb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/phy/tegra/xusb.c b/drivers/phy/tegra/xusb.c index de1b4ebe4de2..5b3b8863363e 100644 --- a/drivers/phy/tegra/xusb.c +++ b/drivers/phy/tegra/xusb.c @@ -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; } |