[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150227152959.GB22183@saruman.tx.rr.com>
Date: Fri, 27 Feb 2015 09:29:59 -0600
From: Felipe Balbi <balbi@...com>
To: Bjorn Andersson <bjorn.andersson@...ymobile.com>
CC: Felipe Balbi <balbi@...com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Mark Brown <broonie@...nel.org>, <linux-usb@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-arm-msm@...r.kernel.org>
Subject: Re: [PATCH 3/5] usb: phy: ab8500-usb: Rename
regulator_set_optimum_mode
On Wed, Feb 11, 2015 at 07:35:29PM -0800, Bjorn Andersson wrote:
> The function regulator_set_optimum_mode() is changing name to
> regulator_set_load(), so update the code accordingly.
>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@...ymobile.com>
since this depends on the rest of the series:
Acked-by: Felipe Balbi <balbi@...com>
> ---
> drivers/usb/phy/phy-ab8500-usb.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/usb/phy/phy-ab8500-usb.c b/drivers/usb/phy/phy-ab8500-usb.c
> index 0b1bd23..f5b3b92 100644
> --- a/drivers/usb/phy/phy-ab8500-usb.c
> +++ b/drivers/usb/phy/phy-ab8500-usb.c
> @@ -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);
> --
> 1.8.2.2
>
--
balbi
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists