diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/regulator/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index f1d10c974cd..c6256332296 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c | |||
@@ -1359,6 +1359,7 @@ static int _regulator_disable(struct regulator_dev *rdev, | |||
1359 | struct regulator_dev **supply_rdev_ptr) | 1359 | struct regulator_dev **supply_rdev_ptr) |
1360 | { | 1360 | { |
1361 | int ret = 0; | 1361 | int ret = 0; |
1362 | *supply_rdev_ptr = NULL; | ||
1362 | 1363 | ||
1363 | if (WARN(rdev->use_count <= 0, | 1364 | if (WARN(rdev->use_count <= 0, |
1364 | "unbalanced disables for %s\n", | 1365 | "unbalanced disables for %s\n", |