Commit 6c4b7f70 authored by Nicolas Kaiser's avatar Nicolas Kaiser Committed by Greg Kroah-Hartman

USB: speedtouch: fixed brace and spacing coding style issues

Fixed brace coding style issues.
Signed-off-by: default avatarNicolas Kaiser <nikai@nikai.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent ba297edd
...@@ -753,7 +753,9 @@ static struct usb_driver speedtch_usb_driver = { ...@@ -753,7 +753,9 @@ static struct usb_driver speedtch_usb_driver = {
.id_table = speedtch_usb_ids .id_table = speedtch_usb_ids
}; };
static void speedtch_release_interfaces(struct usb_device *usb_dev, int num_interfaces) { static void speedtch_release_interfaces(struct usb_device *usb_dev,
int num_interfaces)
{
struct usb_interface *cur_intf; struct usb_interface *cur_intf;
int i; int i;
......
...@@ -273,8 +273,7 @@ static void usbatm_complete(struct urb *urb) ...@@ -273,8 +273,7 @@ static void usbatm_complete(struct urb *urb)
if (unlikely(status) && if (unlikely(status) &&
(!(channel->usbatm->flags & UDSL_IGNORE_EILSEQ) || (!(channel->usbatm->flags & UDSL_IGNORE_EILSEQ) ||
status != -EILSEQ )) status != -EILSEQ )) {
{
if (status == -ESHUTDOWN) if (status == -ESHUTDOWN)
return; return;
...@@ -516,8 +515,7 @@ static unsigned int usbatm_write_cells(struct usbatm_data *instance, ...@@ -516,8 +515,7 @@ static unsigned int usbatm_write_cells(struct usbatm_data *instance,
target[3] |= 0x2; /* adjust PTI */ target[3] |= 0x2; /* adjust PTI */
ctrl->len = 0; /* tag this skb finished */ ctrl->len = 0; /* tag this skb finished */
} } else
else
ctrl->crc = crc32_be(ctrl->crc, ptr, left); ctrl->crc = crc32_be(ctrl->crc, ptr, left);
} }
...@@ -1390,9 +1388,8 @@ static int usbatm_print_packet(const unsigned char *data, int len) ...@@ -1390,9 +1388,8 @@ static int usbatm_print_packet(const unsigned char *data, int len)
for (i = 0; i < len;) { for (i = 0; i < len;) {
buffer[0] = '\0'; buffer[0] = '\0';
sprintf(buffer, "%.3d :", i); sprintf(buffer, "%.3d :", i);
for (j = 0; (j < 16) && (i < len); j++, i++) { for (j = 0; (j < 16) && (i < len); j++, i++)
sprintf(buffer, "%s %2.2x", buffer, data[i]); sprintf(buffer, "%s %2.2x", buffer, data[i]);
}
dbg("%s", buffer); dbg("%s", buffer);
} }
return i; return i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment