aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/regulator
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/regulator')
-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 4cfaaf222304..d17e1ff7ad01 100644
--- a/include/linux/regulator/consumer.h
+++ b/include/linux/regulator/consumer.h
@@ -288,7 +288,7 @@ devm_regulator_get(struct device *dev, const char *id)
288static inline struct regulator *__must_check 288static inline struct regulator *__must_check
289regulator_get_exclusive(struct device *dev, const char *id) 289regulator_get_exclusive(struct device *dev, const char *id)
290{ 290{
291 return NULL; 291 return ERR_PTR(-ENODEV);
292} 292}
293 293
294static inline struct regulator *__must_check 294static inline struct regulator *__must_check