diff options
Diffstat (limited to 'drivers/usb/common/ulpi.c')
-rw-r--r-- | drivers/usb/common/ulpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/common/ulpi.c b/drivers/usb/common/ulpi.c index c9480d77810c..930e8f35f8df 100644 --- a/drivers/usb/common/ulpi.c +++ b/drivers/usb/common/ulpi.c | |||
@@ -107,7 +107,7 @@ static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, | |||
107 | int len; | 107 | int len; |
108 | struct ulpi *ulpi = to_ulpi_dev(dev); | 108 | struct ulpi *ulpi = to_ulpi_dev(dev); |
109 | 109 | ||
110 | len = of_device_get_modalias(dev, buf, PAGE_SIZE - 1); | 110 | len = of_device_modalias(dev, buf, PAGE_SIZE); |
111 | if (len != -ENODEV) | 111 | if (len != -ENODEV) |
112 | return len; | 112 | return len; |
113 | 113 | ||