diff options
-rw-r--r-- | drivers/regulator/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index ac3a864d3635..088b41ac9506 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c | |||
@@ -1247,7 +1247,7 @@ static struct regulator *_regulator_get(struct device *dev, const char *id, | |||
1247 | struct regulator_dev *rdev; | 1247 | struct regulator_dev *rdev; |
1248 | struct regulator *regulator = ERR_PTR(-EPROBE_DEFER); | 1248 | struct regulator *regulator = ERR_PTR(-EPROBE_DEFER); |
1249 | const char *devname = NULL; | 1249 | const char *devname = NULL; |
1250 | int ret = 0; | 1250 | int ret = -EPROBE_DEFER; |
1251 | 1251 | ||
1252 | if (id == NULL) { | 1252 | if (id == NULL) { |
1253 | pr_err("get() with no identifier\n"); | 1253 | pr_err("get() with no identifier\n"); |