diff options
author | Rob Herring <robh@kernel.org> | 2017-07-18 17:43:31 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-07-19 06:56:23 -0400 |
commit | 25c56c88a4627e7fdbfa12a4c20c75e2ccb366d1 (patch) | |
tree | 4595a0bcaaf192ceeef30242938007c7d9c4bbc2 /drivers/spi/spi-orion.c | |
parent | 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff) |
spi: 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: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-orion.c')
-rw-r--r-- | drivers/spi/spi-orion.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-orion.c b/drivers/spi/spi-orion.c index 28fc9f161b9d..4b6dd73b80da 100644 --- a/drivers/spi/spi-orion.c +++ b/drivers/spi/spi-orion.c | |||
@@ -669,8 +669,8 @@ static int orion_spi_probe(struct platform_device *pdev) | |||
669 | status = of_property_read_u32(np, "reg", &cs); | 669 | status = of_property_read_u32(np, "reg", &cs); |
670 | if (status) { | 670 | if (status) { |
671 | dev_err(&pdev->dev, | 671 | dev_err(&pdev->dev, |
672 | "%s has no valid 'reg' property (%d)\n", | 672 | "%pOF has no valid 'reg' property (%d)\n", |
673 | np->full_name, status); | 673 | np, status); |
674 | status = 0; | 674 | status = 0; |
675 | continue; | 675 | continue; |
676 | } | 676 | } |