aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/regulator/consumer.h2
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)
282static inline struct regulator *__must_check 282static inline struct regulator *__must_check
283regulator_get_exclusive(struct device *dev, const char *id) 283regulator_get_exclusive(struct device *dev, const char *id)
284{ 284{
285 return NULL; 285 return ERR_PTR(-ENODEV);
286} 286}
287 287
288static inline struct regulator *__must_check 288static inline struct regulator *__must_check