diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2015-03-10 13:44:41 +1100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-10 10:39:32 +0000 |
commit | 7e476c7dd8d39b03a4dd8447be907d3517579c51 (patch) | |
tree | 058dc95ad3ac76a528daaa4785787b2b73e7c6b4 /drivers/phy | |
parent | ae6e808f15742fcbc0097ac2fb3055d553266965 (diff) | |
download | linux-stable-7e476c7dd8d39b03a4dd8447be907d3517579c51.tar.gz linux-stable-7e476c7dd8d39b03a4dd8447be907d3517579c51.tar.bz2 linux-stable-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.c | 4 |
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; |