aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/atm/speedtch.c
diff options
context:
space:
mode:
authorNicolas Kaiser <nikai@nikai.net>2010-06-09 14:43:03 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-10 17:35:34 -0400
commit9196cc7bb46bece079398c9846050e8c8dc9235c (patch)
tree927d11b2bc26b56416d275329786e5c2f4264c83 /drivers/usb/atm/speedtch.c
parent6c4b7f70ba5ffb7fa1d19d2518664ea6ddb3cbf3 (diff)
USB: speedtouch: fixed more brace and spacing coding style issues
Fixed spacing coding style issues. Signed-off-by: Nicolas Kaiser <nikai@nikai.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/atm/speedtch.c')
-rw-r--r--drivers/usb/atm/speedtch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/atm/speedtch.c b/drivers/usb/atm/speedtch.c
index db83468bde5c..4716e707de59 100644
--- a/drivers/usb/atm/speedtch.c
+++ b/drivers/usb/atm/speedtch.c
@@ -759,7 +759,7 @@ static void speedtch_release_interfaces(struct usb_device *usb_dev,
759 struct usb_interface *cur_intf; 759 struct usb_interface *cur_intf;
760 int i; 760 int i;
761 761
762 for(i = 0; i < num_interfaces; i++) 762 for (i = 0; i < num_interfaces; i++)
763 if ((cur_intf = usb_ifnum_to_if(usb_dev, i))) { 763 if ((cur_intf = usb_ifnum_to_if(usb_dev, i))) {
764 usb_set_intfdata(cur_intf, NULL); 764 usb_set_intfdata(cur_intf, NULL);
765 usb_driver_release_interface(&speedtch_usb_driver, cur_intf); 765 usb_driver_release_interface(&speedtch_usb_driver, cur_intf);
@@ -794,7 +794,7 @@ static int speedtch_bind(struct usbatm_data *usbatm,
794 794
795 /* claim all interfaces */ 795 /* claim all interfaces */
796 796
797 for (i=0; i < num_interfaces; i++) { 797 for (i = 0; i < num_interfaces; i++) {
798 cur_intf = usb_ifnum_to_if(usb_dev, i); 798 cur_intf = usb_ifnum_to_if(usb_dev, i);
799 799
800 if ((i != ifnum) && cur_intf) { 800 if ((i != ifnum) && cur_intf) {
@@ -844,7 +844,7 @@ static int speedtch_bind(struct usbatm_data *usbatm,
844 844
845 use_isoc = 0; /* fall back to bulk if endpoint not found */ 845 use_isoc = 0; /* fall back to bulk if endpoint not found */
846 846
847 for (i=0; i<desc->desc.bNumEndpoints; i++) { 847 for (i = 0; i < desc->desc.bNumEndpoints; i++) {
848 const struct usb_endpoint_descriptor *endpoint_desc = &desc->endpoint[i].desc; 848 const struct usb_endpoint_descriptor *endpoint_desc = &desc->endpoint[i].desc;
849 849
850 if ((endpoint_desc->bEndpointAddress == target_address)) { 850 if ((endpoint_desc->bEndpointAddress == target_address)) {