diff options
Diffstat (limited to 'include/linux/regulator')
-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 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) | |||
288 | static inline struct regulator *__must_check | 288 | static inline struct regulator *__must_check |
289 | regulator_get_exclusive(struct device *dev, const char *id) | 289 | regulator_get_exclusive(struct device *dev, const char *id) |
290 | { | 290 | { |
291 | return NULL; | 291 | return ERR_PTR(-ENODEV); |
292 | } | 292 | } |
293 | 293 | ||
294 | static inline struct regulator *__must_check | 294 | static inline struct regulator *__must_check |