Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754796AbbB0Pad (ORCPT ); Fri, 27 Feb 2015 10:30:33 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:53024 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752831AbbB0Pab (ORCPT ); Fri, 27 Feb 2015 10:30:31 -0500 Date: Fri, 27 Feb 2015 09:29:59 -0600 From: Felipe Balbi To: Bjorn Andersson CC: Felipe Balbi , Greg Kroah-Hartman , Mark Brown , , , Subject: Re: [PATCH 3/5] usb: phy: ab8500-usb: Rename regulator_set_optimum_mode Message-ID: <20150227152959.GB22183@saruman.tx.rr.com> Reply-To: References: <1423712131-23795-1-git-send-email-bjorn.andersson@sonymobile.com> <1423712131-23795-4-git-send-email-bjorn.andersson@sonymobile.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0eh6TmSyL6TZE2Uz" Content-Disposition: inline In-Reply-To: <1423712131-23795-4-git-send-email-bjorn.andersson@sonymobile.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2754 Lines: 79 --0eh6TmSyL6TZE2Uz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > Signed-off-by: Bjorn Andersson since this depends on the rest of the series: Acked-by: Felipe Balbi > --- > drivers/usb/phy/phy-ab8500-usb.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/drivers/usb/phy/phy-ab8500-usb.c b/drivers/usb/phy/phy-ab850= 0-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=3D%d\n", > ret); > =20 > - ret =3D regulator_set_optimum_mode(ab->v_ulpi, 28000); > + ret =3D regulator_set_load(ab->v_ulpi, 28000); > if (ret < 0) > dev_err(ab->dev, "Failed to set optimum mode (ret=3D%d)\n", > ret); > @@ -317,7 +317,7 @@ static void ab8500_usb_regulator_disable(struct ab850= 0_usb *ab) > ab->saved_v_ulpi, ret); > } > =20 > - ret =3D regulator_set_optimum_mode(ab->v_ulpi, 0); > + ret =3D regulator_set_load(ab->v_ulpi, 0); > if (ret < 0) > dev_err(ab->dev, "Failed to set optimum mode (ret=3D%d)\n", > ret); > --=20 > 1.8.2.2 >=20 --=20 balbi --0eh6TmSyL6TZE2Uz Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJU8I13AAoJEIaOsuA1yqRE55sP/RxyTjBbiClrQYfujtpqMNEW dEKsZpt+dK68a2TOHHc7oMBLXkE7T7PILlt5sAzjyPq9LruIah6g5xF6vBIB698x B/VRAq4otgQCtWdkfeMuMvB1DCdULvLbNN1QscGwASO4QT1rb9XHNvD72sEb/doo 23fxKqjQK5euEf+fPctE7t1pDdw19tE0V4Gw5DHPbzSMy33cixSLGN+71uP1V/dc zf9/hO3ApeaPBooYqhsbwCnXNJzaZNNIsTcTMku6BCfgfNLnM9OS9PmW0sa2RNPe 08xxn1JkbL2xuk8fm+4exspBFNGVhwJtAbmcA6S1mgo0MWtE+7ypqfCBLt64JU7R mEHwOGitN6V8i1GnrKOGEzHZ4SleouiXRn8EwUu1URmjboZ9MRGZUOm0Jewgm5cg eJM++NH52avJRy8LQrXUi1ANqmFOoERpQXDLMeZ9fay/CHq3qfwOd6G11kVJ4Kyx GNUpkF94D89+diWsgzkFU+e1KJZOfbp1uh/KLlRfXBVkDSu3ZmTz4wJZY80kfgmY EP8eO9NuuqnOBgsTRRdeDbH4hYk8ZQuH5jmDffSkXwhbjLmg31iRU/g9+yn1eLw8 4EEQM1ttftX4LYsiaI69yjoRO459jwZ/RbTn8O+1jlRXwKPeCjCc6hYBpZi/d+X9 I1jazQg80yphiMVJz8Lo =X30f -----END PGP SIGNATURE----- --0eh6TmSyL6TZE2Uz-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/