USB: wusbcore: fix up minor coding style issues in cbaf.c

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Rahul Bedarkar 2014-01-04 11:19:04 +05:30 committed by Greg Kroah-Hartman
parent 1076e7a4d9
commit b0b4cb5cd1

View File

@ -260,7 +260,8 @@ static int cbaf_send_host_info(struct cbaf *cbaf)
hi->HostFriendlyName_hdr.len = cpu_to_le16(name_len); hi->HostFriendlyName_hdr.len = cpu_to_le16(name_len);
hi_size = sizeof(*hi) + name_len; hi_size = sizeof(*hi) + name_len;
return usb_control_msg(cbaf->usb_dev, usb_sndctrlpipe(cbaf->usb_dev, 0), return usb_control_msg(cbaf->usb_dev,
usb_sndctrlpipe(cbaf->usb_dev, 0),
CBAF_REQ_SET_ASSOCIATION_RESPONSE, CBAF_REQ_SET_ASSOCIATION_RESPONSE,
USB_DIR_OUT | USB_TYPE_CLASS | USB_RECIP_INTERFACE, USB_DIR_OUT | USB_TYPE_CLASS | USB_RECIP_INTERFACE,
0x0101, 0x0101,
@ -290,7 +291,8 @@ static int cbaf_cdid_get(struct cbaf *cbaf)
0x0200, cbaf->usb_iface->cur_altsetting->desc.bInterfaceNumber, 0x0200, cbaf->usb_iface->cur_altsetting->desc.bInterfaceNumber,
di, cbaf->buffer_size, USB_CTRL_GET_TIMEOUT); di, cbaf->buffer_size, USB_CTRL_GET_TIMEOUT);
if (result < 0) { if (result < 0) {
dev_err(dev, "Cannot request device information: %d\n", result); dev_err(dev, "Cannot request device information: %d\n",
result);
return result; return result;
} }