mtd: 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> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Brian Norris <computersforpeace@gmail.com> Cc: Boris Brezillon <boris.brezillon@free-electrons.com> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Richard Weinberger <richard@nod.at> Cc: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr> Cc: linux-mtd@lists.infradead.org Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
This commit is contained in:

committed by
Boris Brezillon

parent
ab8d531910
commit
1d70607750
@@ -55,8 +55,8 @@ int uflash_devinit(struct platform_device *op, struct device_node *dp)
|
||||
/* Non-CFI userflash device-- once I find one we
|
||||
* can work on supporting it.
|
||||
*/
|
||||
printk(KERN_ERR PFX "Unsupported device at %s, 0x%llx\n",
|
||||
dp->full_name, (unsigned long long)op->resource[0].start);
|
||||
printk(KERN_ERR PFX "Unsupported device at %pOF, 0x%llx\n",
|
||||
dp, (unsigned long long)op->resource[0].start);
|
||||
|
||||
return -ENODEV;
|
||||
}
|
||||
|
Reference in New Issue
Block a user