diff options
author | Rob Herring <robh@kernel.org> | 2017-07-18 16:42:51 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2017-08-16 17:21:40 +0200 |
commit | 9c0982d809fd81cc63438926c465e5919fd97acd (patch) | |
tree | b8ea60ac883907a9740142d2049d1b699b13fb7e /drivers/bus/imx-weim.c | |
parent | 9deee319072286142ea23e9d3b0d789a216ffe20 (diff) | |
download | talos-obmc-linux-9c0982d809fd81cc63438926c465e5919fd97acd.tar.gz talos-obmc-linux-9c0982d809fd81cc63438926c465e5919fd97acd.zip |
bus: Convert to using %pOF instead of full_name
Now that we have a custom printf format specifier, convert users of
full_name to use %pOF instead. This is preparation to remove storing
of the full path string for each node.
Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Chen-Yu Tsai <wens@csie.org>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/bus/imx-weim.c')
-rw-r--r-- | drivers/bus/imx-weim.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/bus/imx-weim.c b/drivers/bus/imx-weim.c index 4bd361d64270..3d56ebcda720 100644 --- a/drivers/bus/imx-weim.c +++ b/drivers/bus/imx-weim.c @@ -156,8 +156,8 @@ static int __init weim_parse_dt(struct platform_device *pdev, ret = weim_timing_setup(child, base, devtype); if (ret) - dev_warn(&pdev->dev, "%s set timing failed.\n", - child->full_name); + dev_warn(&pdev->dev, "%pOF set timing failed.\n", + child); else have_child = 1; } @@ -166,8 +166,8 @@ static int __init weim_parse_dt(struct platform_device *pdev, ret = of_platform_default_populate(pdev->dev.of_node, NULL, &pdev->dev); if (ret) - dev_err(&pdev->dev, "%s fail to create devices.\n", - pdev->dev.of_node->full_name); + dev_err(&pdev->dev, "%pOF fail to create devices.\n", + pdev->dev.of_node); return ret; } |