usb: 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> Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
9acd6b2a34
commit
d9241ff2f2
@ -227,8 +227,8 @@ int of_usb_update_otg_caps(struct device_node *np,
|
||||
otg_caps->otg_rev = otg_rev;
|
||||
break;
|
||||
default:
|
||||
pr_err("%s: unsupported otg-rev: 0x%x\n",
|
||||
np->full_name, otg_rev);
|
||||
pr_err("%pOF: unsupported otg-rev: 0x%x\n",
|
||||
np, otg_rev);
|
||||
return -EINVAL;
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user