]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
USB: MUSB: checkpatch.pl fixes to musb_virthub.c
authorFelipe Balbi <felipe.balbi@nokia.com>
Fri, 11 Apr 2008 08:28:27 +0000 (11:28 +0300)
committerTony Lindgren <tony@atomide.com>
Fri, 11 Apr 2008 18:54:57 +0000 (11:54 -0700)
Misc cleanup patch.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/usb/musb/musb_virthub.c

index 10b9089d5841faa23d321b706e7254276b02982d..e0e9ce58417502a501480ef70e5170f442331fbc 100644 (file)
@@ -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: