diff --git a/[refs] b/[refs] index f43d2848a858..160db64d949f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 41097afd64108348a935c658c78662bce1ea6355 +refs/heads/master: e81dba85c6388dfabcb76cbc2b8bd02836a53ae5 diff --git a/trunk/drivers/regulator/core.c b/trunk/drivers/regulator/core.c index 8918271f9e85..5a33282181d8 100644 --- a/trunk/drivers/regulator/core.c +++ b/trunk/drivers/regulator/core.c @@ -3193,6 +3193,8 @@ regulator_register(const struct regulator_desc *regulator_desc, unset_regulator_supplies(rdev); scrub: + if (rdev->supply) + regulator_put(rdev->supply); kfree(rdev->constraints); device_unregister(&rdev->dev); /* device core frees rdev */