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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user