mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
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>
This commit is contained in:
parent
5771a8c088
commit
25c56c88a4
2 changed files with 13 additions and 18 deletions
|
@ -669,8 +669,8 @@ static int orion_spi_probe(struct platform_device *pdev)
|
|||
status = of_property_read_u32(np, "reg", &cs);
|
||||
if (status) {
|
||||
dev_err(&pdev->dev,
|
||||
"%s has no valid 'reg' property (%d)\n",
|
||||
np->full_name, status);
|
||||
"%pOF has no valid 'reg' property (%d)\n",
|
||||
np, status);
|
||||
status = 0;
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue