Commit 261a2f59 authored by Felipe Balbi's avatar Felipe Balbi Committed by Tony Lindgren

USB: MUSB: checkpatch.pl fixes to musb_virthub.c

Misc cleanup patch.
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent a8b366a0
......@@ -299,7 +299,7 @@ int musb_hub_control(
break;
case GetHubStatus:
temp = 0;
*(__le32 *) buf = cpu_to_le32 (temp);
*(__le32 *) buf = cpu_to_le32(temp);
break;
case GetPortStatus:
if (wIndex != 1)
......@@ -340,7 +340,7 @@ int musb_hub_control(
(__le32 *) buf);
/* port change status is more interesting */
DBG(get_unaligned((u16*)(buf+2)) ? 2 : 5, "port status %08x\n",
DBG(get_unaligned((u16 *)(buf+2)) ? 2 : 5, "port status %08x\n",
musb->port1_status);
break;
case SetPortFeature:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment