USB: core endpoint: Fix Coding Styles
authorcsanchez@neurowork.net <csanchez@neurowork.net>
Tue, 25 May 2010 15:53:17 +0000 (10:53 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 21:35:34 +0000 (14:35 -0700)
Fixed coding styles in the core usb endpoint.

Signed-off-by: Carlos Sánchez Acosta <csanchez@neurowork.net>
Signed-off-by: Alejandro Sánchez Acosta <asanchez@neurowork.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/endpoint.c

index 4f84a41ee7a85a39bbe939be6e96bc3ba48c2445..3788e738e265058ec164368a06fbf6897305aa51 100644 (file)
@@ -96,16 +96,21 @@ static ssize_t show_ep_interval(struct device *dev,
 
        switch (usb_endpoint_type(ep->desc)) {
        case USB_ENDPOINT_XFER_CONTROL:
-               if (ep->udev->speed == USB_SPEED_HIGH)  /* uframes per NAK */
+               if (ep->udev->speed == USB_SPEED_HIGH)
+                       /* uframes per NAK */
                        interval = ep->desc->bInterval;
                break;
+
        case USB_ENDPOINT_XFER_ISOC:
                interval = 1 << (ep->desc->bInterval - 1);
                break;
+
        case USB_ENDPOINT_XFER_BULK:
-               if (ep->udev->speed == USB_SPEED_HIGH && !in) /* uframes per NAK */
+               if (ep->udev->speed == USB_SPEED_HIGH && !in)
+                       /* uframes per NAK */
                        interval = ep->desc->bInterval;
                break;
+
        case USB_ENDPOINT_XFER_INT:
                if (ep->udev->speed == USB_SPEED_HIGH)
                        interval = 1 << (ep->desc->bInterval - 1);