aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/phy
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2015-03-10 13:44:41 +1100
committerMark Brown <broonie@kernel.org>2015-03-10 10:39:32 +0000
commit7e476c7dd8d39b03a4dd8447be907d3517579c51 (patch)
tree058dc95ad3ac76a528daaa4785787b2b73e7c6b4 /drivers/phy
parentregulator: Drop temporary regulator_set_optimum_mode wrapper (diff)
downloadlinux-dev-7e476c7dd8d39b03a4dd8447be907d3517579c51.tar.xz
linux-dev-7e476c7dd8d39b03a4dd8447be907d3517579c51.zip
regulator: fixes for regulator_set_optimum_mode name change
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/phy')
-rw-r--r--drivers/phy/phy-qcom-ufs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/phy/phy-qcom-ufs.c b/drivers/phy/phy-qcom-ufs.c
index 44ee983d57fe..86665e9dc399 100644
--- a/drivers/phy/phy-qcom-ufs.c
+++ b/drivers/phy/phy-qcom-ufs.c
@@ -346,10 +346,10 @@ int ufs_qcom_phy_cfg_vreg(struct phy *phy,
goto out;
}
uA_load = on ? vreg->max_uA : 0;
- ret = regulator_set_optimum_mode(reg, uA_load);
+ ret = regulator_set_load(reg, uA_load);
if (ret >= 0) {
/*
- * regulator_set_optimum_mode() returns new regulator
+ * regulator_set_load() returns new regulator
* mode upon success.
*/
ret = 0;