mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
usb: phy: ab8500-usb: Rename regulator_set_optimum_mode
The function regulator_set_optimum_mode() is changing name to regulator_set_load(), so update the code accordingly. Signed-off-by: Bjorn Andersson <[email protected]> Acked-by: Felipe Balbi <[email protected]> Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
parent
7b16a07c32
commit
1d61a69481
1 changed files with 2 additions and 2 deletions
|
|
@ -277,7 +277,7 @@ static void ab8500_usb_regulator_enable(struct ab8500_usb *ab)
|
|||
dev_err(ab->dev, "Failed to set the Vintcore to 1.3V, ret=%d\n",
|
||||
ret);
|
||||
|
||||
ret = regulator_set_optimum_mode(ab->v_ulpi, 28000);
|
||||
ret = regulator_set_load(ab->v_ulpi, 28000);
|
||||
if (ret < 0)
|
||||
dev_err(ab->dev, "Failed to set optimum mode (ret=%d)\n",
|
||||
ret);
|
||||
|
|
@ -317,7 +317,7 @@ static void ab8500_usb_regulator_disable(struct ab8500_usb *ab)
|
|||
ab->saved_v_ulpi, ret);
|
||||
}
|
||||
|
||||
ret = regulator_set_optimum_mode(ab->v_ulpi, 0);
|
||||
ret = regulator_set_load(ab->v_ulpi, 0);
|
||||
if (ret < 0)
|
||||
dev_err(ab->dev, "Failed to set optimum mode (ret=%d)\n",
|
||||
ret);
|
||||
|
|
|
|||
Loading…
Reference in a new issue