Staging: usbip: Fix braces and spaces to match coding style.
authorAkshay Joshi <me@akshayjoshi.com>
Wed, 17 Aug 2011 19:58:32 +0000 (15:58 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 21:42:33 +0000 (14:42 -0700)
Fix brace positioning and spaces at the start of lines in order to
comply with the kernel coding style.

Signed-off-by: Akshay Joshi <me@akshayjoshi.com>
Acked-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/usbip/stub_dev.c
drivers/staging/usbip/stub_rx.c

index 1dacdc0c4e0523d84c32c9a3cc7ad5fedda86b5f..77d64693b87345beb839b957055ea131505a38ca 100644 (file)
@@ -548,4 +548,4 @@ struct usb_driver stub_driver = {
        .id_table       = stub_table,
        .pre_reset      = stub_pre_reset,
        .post_reset     = stub_post_reset,
- };
+};
index 1c1957f98e2a4bce39d30741d47e93f74cf8dd9c..6b4e3e182de81ae03344266074b3a3ef07cb5e6d 100644 (file)
@@ -179,8 +179,7 @@ static int tweak_reset_device_cmd(struct urb *urb)
         * longer unbinds. This allows the use of synchronous reset.
         */
 
-       if (usb_lock_device_for_reset(sdev->udev, sdev->interface)<0)
-       {
+       if (usb_lock_device_for_reset(sdev->udev, sdev->interface) < 0) {
                dev_err(&urb->dev->dev, "could not obtain lock to reset device\n");
                return 0;
        }