]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/phy/phy-qcom-ufs.c
Merge branch 'for-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup
[karo-tx-linux.git] / drivers / phy / phy-qcom-ufs.c
index 44ee983d57fe5a2de86945606a4c63a64b88d11b..86665e9dc39993184ba2d51c6a22108a27bd7e41 100644 (file)
@@ -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;