Re: [PATCH 7/7] usb: phy: msm: Lindent the code

From: Felipe Balbi
Date: Wed Jul 24 2013 - 08:23:14 EST


On Mon, Jun 24, 2013 at 06:27:44PM +0300, Ivan T. Ivanov wrote:
> From: "Ivan T. Ivanov" <iivanov@xxxxxxxxxx>
>
> Cc: Felipe Balbi <balbi@xxxxxx>
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Cc: linux-usb@xxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx
>
> Signed-off-by: Ivan T. Ivanov <iivanov@xxxxxxxxxx>

I really don't like blind Lindent patches... sometimes it makes things
even worse.

> ---
> drivers/usb/phy/phy-msm-usb.c | 99 ++++++++++++++++++++++-------------------
> 1 file changed, 52 insertions(+), 47 deletions(-)
>
> diff --git a/drivers/usb/phy/phy-msm-usb.c b/drivers/usb/phy/phy-msm-usb.c
> index 6d05085..111f454 100644
> --- a/drivers/usb/phy/phy-msm-usb.c
> +++ b/drivers/usb/phy/phy-msm-usb.c
> @@ -64,8 +64,8 @@ static int msm_hsusb_init_vddcx(struct msm_otg *motg, int init)
>
> if (init) {
> ret = regulator_set_voltage(motg->vddcx,
> - USB_PHY_VDD_DIG_VOL_MIN,
> - USB_PHY_VDD_DIG_VOL_MAX);
> + USB_PHY_VDD_DIG_VOL_MIN,
> + USB_PHY_VDD_DIG_VOL_MAX);

like here, what's the point ?

--
balbi

Attachment: signature.asc
Description: Digital signature