summaryrefslogtreecommitdiff
path: root/drivers/reset
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2017-07-19 00:43:26 +0300
committerMark Brown <broonie@kernel.org>2017-07-19 13:56:01 +0300
commit7799167b7a14feb17c258fb33a02c61eb54f67d1 (patch)
tree55cbafc2cd514e4b3fff8c5605cc4311e80466aa /drivers/reset
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff)
downloadlinux-7799167b7a14feb17c258fb33a02c61eb54f67d1.tar.xz
regulator: 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> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/reset')
-rw-r--r--drivers/reset/reset-socfpga.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/reset/reset-socfpga.c b/drivers/reset/reset-socfpga.c
index 07224c019892..c60904ff40b8 100644
--- a/drivers/reset/reset-socfpga.c
+++ b/drivers/reset/reset-socfpga.c
@@ -109,8 +109,8 @@ static int socfpga_reset_probe(struct platform_device *pdev)
* Do not continue, when we encounter an old DT.
*/
if (!of_find_property(pdev->dev.of_node, "#reset-cells", NULL)) {
- dev_err(&pdev->dev, "%s missing #reset-cells property\n",
- pdev->dev.of_node->full_name);
+ dev_err(&pdev->dev, "%pOF missing #reset-cells property\n",
+ pdev->dev.of_node);
return -EINVAL;
}