summaryrefslogtreecommitdiff
path: root/drivers/staging/usbip
diff options
context:
space:
mode:
authorAkshay Joshi <me@akshayjoshi.com>2011-08-17 19:58:32 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-23 21:42:33 (GMT)
commit97c451ca1094d9d1ed1f3bf7c7a8b65b783e37e0 (patch)
treeb0596242cb1fe62ab5b42e63f23e65e40d6fa52b /drivers/staging/usbip
parent553a1a5065e478b8e2e75d523b7dc5d39920910b (diff)
downloadlinux-fsl-qoriq-97c451ca1094d9d1ed1f3bf7c7a8b65b783e37e0.tar.xz
Staging: usbip: Fix braces and spaces to match coding style.
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>
Diffstat (limited to 'drivers/staging/usbip')
-rw-r--r--drivers/staging/usbip/stub_dev.c2
-rw-r--r--drivers/staging/usbip/stub_rx.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/usbip/stub_dev.c b/drivers/staging/usbip/stub_dev.c
index 1dacdc0..77d6469 100644
--- a/drivers/staging/usbip/stub_dev.c
+++ b/drivers/staging/usbip/stub_dev.c
@@ -548,4 +548,4 @@ struct usb_driver stub_driver = {
.id_table = stub_table,
.pre_reset = stub_pre_reset,
.post_reset = stub_post_reset,
- };
+};
diff --git a/drivers/staging/usbip/stub_rx.c b/drivers/staging/usbip/stub_rx.c
index 1c1957f..6b4e3e1 100644
--- a/drivers/staging/usbip/stub_rx.c
+++ b/drivers/staging/usbip/stub_rx.c
@@ -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;
}