|
@@ -282,7 +282,7 @@ devm_regulator_get(struct device *dev, const char *id)
|
|
|
static inline struct regulator *__must_check
|
|
static inline struct regulator *__must_check
|
|
|
regulator_get_exclusive(struct device *dev, const char *id)
|
|
regulator_get_exclusive(struct device *dev, const char *id)
|
|
|
{
|
|
{
|
|
|
- return NULL;
|
|
|
|
|
|
|
+ return ERR_PTR(-ENODEV);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
static inline struct regulator *__must_check
|
|
static inline struct regulator *__must_check
|