diff options
-rw-r--r-- | include/linux/regulator/consumer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/regulator/consumer.h b/include/linux/regulator/consumer.h index d347c805f923..c0c0a437ec75 100644 --- a/include/linux/regulator/consumer.h +++ b/include/linux/regulator/consumer.h | |||
@@ -282,7 +282,7 @@ devm_regulator_get(struct device *dev, const char *id) | |||
282 | static inline struct regulator *__must_check | 282 | static inline struct regulator *__must_check |
283 | regulator_get_exclusive(struct device *dev, const char *id) | 283 | regulator_get_exclusive(struct device *dev, const char *id) |
284 | { | 284 | { |
285 | return NULL; | 285 | return ERR_PTR(-ENODEV); |
286 | } | 286 | } |
287 | 287 | ||
288 | static inline struct regulator *__must_check | 288 | static inline struct regulator *__must_check |