aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/core/sysfs.c')
-rw-r--r--drivers/usb/core/sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/sysfs.c b/drivers/usb/core/sysfs.c
index dfc68ed24db1..d930bfda4010 100644
--- a/drivers/usb/core/sysfs.c
+++ b/drivers/usb/core/sysfs.c
@@ -113,7 +113,7 @@ static ssize_t devspec_show(struct device *dev, struct device_attribute *attr,
113{ 113{
114 struct device_node *of_node = dev->of_node; 114 struct device_node *of_node = dev->of_node;
115 115
116 return sprintf(buf, "%s\n", of_node_full_name(of_node)); 116 return sprintf(buf, "%pOF\n", of_node);
117} 117}
118static DEVICE_ATTR_RO(devspec); 118static DEVICE_ATTR_RO(devspec);
119#endif 119#endif