diff options
author | Rob Herring <robh@kernel.org> | 2017-07-18 17:43:35 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-22 09:56:53 -0400 |
commit | d9241ff2f2acbc9241bcb4fb58c36d6a56f8c73a (patch) | |
tree | a040e8b174a2b0de16b45a887e1bc71b85922772 /drivers/usb/common/common.c | |
parent | 9acd6b2a343d3ed4731468747632af0f3d644369 (diff) |
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>
Diffstat (limited to 'drivers/usb/common/common.c')
-rw-r--r-- | drivers/usb/common/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/common/common.c b/drivers/usb/common/common.c index 5ef8da6e67c3..b91ba3332d8f 100644 --- a/drivers/usb/common/common.c +++ b/drivers/usb/common/common.c | |||
@@ -227,8 +227,8 @@ int of_usb_update_otg_caps(struct device_node *np, | |||
227 | otg_caps->otg_rev = otg_rev; | 227 | otg_caps->otg_rev = otg_rev; |
228 | break; | 228 | break; |
229 | default: | 229 | default: |
230 | pr_err("%s: unsupported otg-rev: 0x%x\n", | 230 | pr_err("%pOF: unsupported otg-rev: 0x%x\n", |
231 | np->full_name, otg_rev); | 231 | np, otg_rev); |
232 | return -EINVAL; | 232 | return -EINVAL; |
233 | } | 233 | } |
234 | } else { | 234 | } else { |