usb: musb: remove a bit of indentation

And use dev instead of musb->controller.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
Felipe Contreras 2011-12-19 22:17:50 +02:00 committed by Felipe Balbi
parent b3314d9ac5
commit 08dec56ee2

View File

@ -352,7 +352,8 @@ static void omap2430_musb_enable(struct musb *musb)
case USB_EVENT_ID:
otg_init(musb->xceiv);
if (data->interface_type == MUSB_INTERFACE_UTMI) {
if (data->interface_type != MUSB_INTERFACE_UTMI)
break;
devctl = musb_readb(musb->mregs, MUSB_DEVCTL);
/* start the session */
devctl |= MUSB_DEVCTL_SESSION;
@ -362,12 +363,10 @@ static void omap2430_musb_enable(struct musb *musb)
cpu_relax();
if (time_after(jiffies, timeout)) {
dev_err(musb->controller,
"configured as A device timeout");
dev_err(dev, "configured as A device timeout");
break;
}
}
}
break;
case USB_EVENT_VBUS: