diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/phy/phy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index e694d4008c4a..10888a717860 100644 --- a/include/linux/phy/phy.h +++ b/include/linux/phy/phy.h | |||
| @@ -291,7 +291,7 @@ static inline struct phy *devm_phy_get(struct device *dev, const char *string) | |||
| 291 | static inline struct phy *devm_phy_optional_get(struct device *dev, | 291 | static inline struct phy *devm_phy_optional_get(struct device *dev, |
| 292 | const char *string) | 292 | const char *string) |
| 293 | { | 293 | { |
| 294 | return ERR_PTR(-ENOSYS); | 294 | return NULL; |
| 295 | } | 295 | } |
| 296 | 296 | ||
| 297 | static inline struct phy *devm_of_phy_get(struct device *dev, | 297 | static inline struct phy *devm_of_phy_get(struct device *dev, |
