diff options
author | Mark Brown <broonie@kernel.org> | 2014-12-05 06:14:34 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-12-05 06:14:34 -0500 |
commit | 15db0c8d79b353e4a5b62aef6863ffac4b36cf8d (patch) | |
tree | d7c7d3e266150753224a7bc8141185826b8d8513 | |
parent | 70c97e3b11e9f92b5fdd6404ff44dd8cf9d0e26e (diff) | |
parent | 60a2362f769cf549dc466134efe71c8bf9fbaaba (diff) |
Merge remote-tracking branch 'regulator/topic/core' into regulator-next
-rw-r--r-- | drivers/regulator/core.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index cd87c0c37034..47a455cfe04f 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c | |||
@@ -828,7 +828,7 @@ static void print_constraints(struct regulator_dev *rdev) | |||
828 | if (!count) | 828 | if (!count) |
829 | sprintf(buf, "no parameters"); | 829 | sprintf(buf, "no parameters"); |
830 | 830 | ||
831 | rdev_info(rdev, "%s\n", buf); | 831 | rdev_dbg(rdev, "%s\n", buf); |
832 | 832 | ||
833 | if ((constraints->min_uV != constraints->max_uV) && | 833 | if ((constraints->min_uV != constraints->max_uV) && |
834 | !(constraints->valid_ops_mask & REGULATOR_CHANGE_VOLTAGE)) | 834 | !(constraints->valid_ops_mask & REGULATOR_CHANGE_VOLTAGE)) |
@@ -1713,6 +1713,8 @@ static void regulator_ena_gpio_free(struct regulator_dev *rdev) | |||
1713 | gpiod_put(pin->gpiod); | 1713 | gpiod_put(pin->gpiod); |
1714 | list_del(&pin->list); | 1714 | list_del(&pin->list); |
1715 | kfree(pin); | 1715 | kfree(pin); |
1716 | rdev->ena_pin = NULL; | ||
1717 | return; | ||
1716 | } else { | 1718 | } else { |
1717 | pin->request_count--; | 1719 | pin->request_count--; |
1718 | } | 1720 | } |