diff options
author | Harsh Kumar <harsh1kumar@gmail.com> | 2012-09-26 14:05:42 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-26 17:02:54 -0400 |
commit | 926ae525111021a3fa20f26b391d091d6c945275 (patch) | |
tree | 69181e81f93c35bf527dc1eb7313c3e736337c30 | |
parent | 814164462a07bf1c8011de8d8c8878cfa2920ad1 (diff) |
Staging: winbond: checkpatch cleanup
checkpatch cleanup: Corrected wrong placement of a brace and line exceeding 80 characters
Signed-off-by: Harsh Kumar <harsh1kumar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/winbond/wb35tx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/winbond/wb35tx.c b/drivers/staging/winbond/wb35tx.c index 7a2024d6468e..474cad8bf5e7 100644 --- a/drivers/staging/winbond/wb35tx.c +++ b/drivers/staging/winbond/wb35tx.c | |||
@@ -135,8 +135,7 @@ unsigned char Wb35Tx_initial(struct hw_data *pHwData) | |||
135 | return false; | 135 | return false; |
136 | 136 | ||
137 | pWb35Tx->Tx2Urb = usb_alloc_urb(0, GFP_ATOMIC); | 137 | pWb35Tx->Tx2Urb = usb_alloc_urb(0, GFP_ATOMIC); |
138 | if (!pWb35Tx->Tx2Urb) | 138 | if (!pWb35Tx->Tx2Urb) { |
139 | { | ||
140 | usb_free_urb(pWb35Tx->Tx4Urb); | 139 | usb_free_urb(pWb35Tx->Tx4Urb); |
141 | return false; | 140 | return false; |
142 | } | 141 | } |
@@ -263,7 +262,8 @@ static void Wb35Tx_EP2VM(struct wbsoft_priv *adapter) | |||
263 | 262 | ||
264 | /* Issuing URB */ | 263 | /* Issuing URB */ |
265 | usb_fill_int_urb(pUrb, pHwData->udev, usb_rcvintpipe(pHwData->udev, 2), | 264 | usb_fill_int_urb(pUrb, pHwData->udev, usb_rcvintpipe(pHwData->udev, 2), |
266 | pltmp, MAX_INTERRUPT_LENGTH, Wb35Tx_EP2VM_complete, adapter, 32); | 265 | pltmp, MAX_INTERRUPT_LENGTH, Wb35Tx_EP2VM_complete, |
266 | adapter, 32); | ||
267 | 267 | ||
268 | pWb35Tx->EP2vm_state = VM_RUNNING; | 268 | pWb35Tx->EP2vm_state = VM_RUNNING; |
269 | retv = usb_submit_urb(pUrb, GFP_ATOMIC); | 269 | retv = usb_submit_urb(pUrb, GFP_ATOMIC); |