diff options
author | Bjorn Andersson <bjorn.andersson@sonymobile.com> | 2015-04-07 02:33:57 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-08 14:21:39 +0300 |
commit | 4d1e4d629a484b725d5fc88d7e0f967435ab6edd (patch) | |
tree | 6a77acd245824d71cb4a9504ab46ed351c9e820b /drivers/regulator | |
parent | 2b85c28a5a7cb0f6bf5899125437812e67e02f70 (diff) | |
download | linux-4d1e4d629a484b725d5fc88d7e0f967435ab6edd.tar.xz |
regulator: qcom: Don't enable DRMS in driver
The driver itself should not flag regulators as being DRMS compatible,
this should come from board or dt files.
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/qcom_rpm-regulator.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/regulator/qcom_rpm-regulator.c b/drivers/regulator/qcom_rpm-regulator.c index 15e07c233c1e..ddca8cb363ad 100644 --- a/drivers/regulator/qcom_rpm-regulator.c +++ b/drivers/regulator/qcom_rpm-regulator.c @@ -732,10 +732,6 @@ static int rpm_reg_probe(struct platform_device *pdev) return -EINVAL; } - /* Regulators with ia property suppports drms */ - if (vreg->parts->ia.mask) - initdata->constraints.valid_ops_mask |= REGULATOR_CHANGE_DRMS; - key = "bias-pull-down"; if (of_property_read_bool(pdev->dev.of_node, key)) { ret = rpm_reg_set(vreg, &vreg->parts->pd, 1); |