Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932128AbbB0Pag (ORCPT ); Fri, 27 Feb 2015 10:30:36 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:53028 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752831AbbB0Pae (ORCPT ); Fri, 27 Feb 2015 10:30:34 -0500 Date: Fri, 27 Feb 2015 09:30:05 -0600 From: Felipe Balbi To: Bjorn Andersson CC: Felipe Balbi , Greg Kroah-Hartman , Mark Brown , , , Subject: Re: [PATCH 4/5] usb: phy: phy-msm-usb: Rename regulator_set_optimum_mode Message-ID: <20150227153005.GC22183@saruman.tx.rr.com> Reply-To: References: <1423712131-23795-1-git-send-email-bjorn.andersson@sonymobile.com> <1423712131-23795-5-git-send-email-bjorn.andersson@sonymobile.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="s9fJI615cBHmzTOP" Content-Disposition: inline In-Reply-To: <1423712131-23795-5-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: 3213 Lines: 92 --s9fJI615cBHmzTOP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 11, 2015 at 07:35:30PM -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-msm-usb.c | 15 +++++---------- > 1 file changed, 5 insertions(+), 10 deletions(-) >=20 > diff --git a/drivers/usb/phy/phy-msm-usb.c b/drivers/usb/phy/phy-msm-usb.c > index 000fd89..6ed67ea 100644 > --- a/drivers/usb/phy/phy-msm-usb.c > +++ b/drivers/usb/phy/phy-msm-usb.c > @@ -142,27 +142,22 @@ static int msm_hsusb_ldo_set_mode(struct msm_otg *m= otg, int on) > int ret =3D 0; > =20 > if (on) { > - ret =3D regulator_set_optimum_mode(motg->v1p8, > - USB_PHY_1P8_HPM_LOAD); > + ret =3D regulator_set_load(motg->v1p8, USB_PHY_1P8_HPM_LOAD); > if (ret < 0) { > pr_err("Could not set HPM for v1p8\n"); > return ret; > } > - ret =3D regulator_set_optimum_mode(motg->v3p3, > - USB_PHY_3P3_HPM_LOAD); > + ret =3D regulator_set_load(motg->v3p3, USB_PHY_3P3_HPM_LOAD); > if (ret < 0) { > pr_err("Could not set HPM for v3p3\n"); > - regulator_set_optimum_mode(motg->v1p8, > - USB_PHY_1P8_LPM_LOAD); > + regulator_set_load(motg->v1p8, USB_PHY_1P8_LPM_LOAD); > return ret; > } > } else { > - ret =3D regulator_set_optimum_mode(motg->v1p8, > - USB_PHY_1P8_LPM_LOAD); > + ret =3D regulator_set_load(motg->v1p8, USB_PHY_1P8_LPM_LOAD); > if (ret < 0) > pr_err("Could not set LPM for v1p8\n"); > - ret =3D regulator_set_optimum_mode(motg->v3p3, > - USB_PHY_3P3_LPM_LOAD); > + ret =3D regulator_set_load(motg->v3p3, USB_PHY_3P3_LPM_LOAD); > if (ret < 0) > pr_err("Could not set LPM for v3p3\n"); > } > --=20 > 1.8.2.2 >=20 --=20 balbi --s9fJI615cBHmzTOP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJU8I19AAoJEIaOsuA1yqRE/G0P/iZ7al7RStSUZiba7USecIhD 8Z0xcfO1f9T8NiunyfNWwlKUZ2Wo8y7XEfc5Bde2Bs32YUC781F65sBpv48KtAjj 4As4AXa9Ij6dyCpF8Bm1cUDQl1R7YC7nHuW05g2GjNNn1pJbAbKdAz3A0uo7FVcS 9juHSan1rQun29Gqa7Fbg6iH7Yn7JMPqX1Vs3Ng8Qyl1CJQt9udH324+u0njS80G qgInx7gyVPvqW3D4girf9RWZ3JZ0ckoBDZqWCcmiQVh56she1Zoz6Q2dQOF+o+ZD KYOwR+7Kw6qNZ2+gOQ+EW3HVXlOKlZHZcLCZtsT6RliLECGR8E3JFKKURVdOqAEH 7uMgfuZHKBaN2RjtUz+VqCs3LMdf4+283Hxfg+wQsj9hCmUYW/TTLNisIW5y3a0C x/pRnBS1cfwOKTxa+n2uKTfudqb2bBRWhM6pGTu1ainxL8LPG/vykgozVB+x7hNq 1s9mQrQFRClZx444vP2VnzdLTsu+J6NF8NS9WMBy3Hzb7p39V1osWot7LrKYuhvs 9K/0Yw9f+4jWTruW7XbSPtTEOkXz7aFb56Uhr7TovClAH8fvlcUbe+E8tyX1sCzN 7UIJfg7B2ah/qKHkmEPNBWmR5Z+rsEunLUEEiZ46axNzsUO6WMrI7Q5oq264IjFj gH5oJjZaLpCXHd5KdvGp =y1Wy -----END PGP SIGNATURE----- --s9fJI615cBHmzTOP-- -- 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/