summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/fsl-mph-dr-of.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2017-07-18 23:43:35 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-22 15:56:53 +0200
commitd9241ff2f2acbc9241bcb4fb58c36d6a56f8c73a (patch)
treea040e8b174a2b0de16b45a887e1bc71b85922772 /drivers/usb/host/fsl-mph-dr-of.c
parentUSB: atm: remove unneeded MODULE_VERSION() usage (diff)
downloadlinux-d9241ff2f2acbc9241bcb4fb58c36d6a56f8c73a.tar.xz
linux-d9241ff2f2acbc9241bcb4fb58c36d6a56f8c73a.zip
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/host/fsl-mph-dr-of.c')
-rw-r--r--drivers/usb/host/fsl-mph-dr-of.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/fsl-mph-dr-of.c b/drivers/usb/host/fsl-mph-dr-of.c
index e90ddb530765..ba557cdba8ef 100644
--- a/drivers/usb/host/fsl-mph-dr-of.c
+++ b/drivers/usb/host/fsl-mph-dr-of.c
@@ -55,8 +55,8 @@ static struct fsl_usb2_dev_data *get_dr_mode_data(struct device_node *np)
return &dr_mode_data[i];
}
}
- pr_warn("%s: Invalid 'dr_mode' property, fallback to host mode\n",
- np->full_name);
+ pr_warn("%pOF: Invalid 'dr_mode' property, fallback to host mode\n",
+ np);
return &dr_mode_data[0]; /* mode not specified, use host */
}