Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Rahul Bedarkar and committed by
Greg Kroah-Hartman
b0b4cb5c 1076e7a4

+7 -5
+7 -5
drivers/usb/wusbcore/cbaf.c
··· 235 235 236 236 static const struct wusb_cbaf_host_info cbaf_host_info_defaults = { 237 237 .AssociationTypeId_hdr = WUSB_AR_AssociationTypeId, 238 - .AssociationTypeId = cpu_to_le16(AR_TYPE_WUSB), 238 + .AssociationTypeId = cpu_to_le16(AR_TYPE_WUSB), 239 239 .AssociationSubTypeId_hdr = WUSB_AR_AssociationSubTypeId, 240 240 .AssociationSubTypeId = cpu_to_le16(AR_TYPE_WUSB_RETRIEVE_HOST_INFO), 241 241 .CHID_hdr = WUSB_AR_CHID, ··· 260 260 hi->HostFriendlyName_hdr.len = cpu_to_le16(name_len); 261 261 hi_size = sizeof(*hi) + name_len; 262 262 263 - return usb_control_msg(cbaf->usb_dev, usb_sndctrlpipe(cbaf->usb_dev, 0), 263 + return usb_control_msg(cbaf->usb_dev, 264 + usb_sndctrlpipe(cbaf->usb_dev, 0), 264 265 CBAF_REQ_SET_ASSOCIATION_RESPONSE, 265 266 USB_DIR_OUT | USB_TYPE_CLASS | USB_RECIP_INTERFACE, 266 267 0x0101, ··· 291 290 0x0200, cbaf->usb_iface->cur_altsetting->desc.bInterfaceNumber, 292 291 di, cbaf->buffer_size, USB_CTRL_GET_TIMEOUT); 293 292 if (result < 0) { 294 - dev_err(dev, "Cannot request device information: %d\n", result); 293 + dev_err(dev, "Cannot request device information: %d\n", 294 + result); 295 295 return result; 296 296 } 297 297 ··· 493 491 494 492 static const struct wusb_cbaf_cc_data cbaf_cc_data_defaults = { 495 493 .AssociationTypeId_hdr = WUSB_AR_AssociationTypeId, 496 - .AssociationTypeId = cpu_to_le16(AR_TYPE_WUSB), 494 + .AssociationTypeId = cpu_to_le16(AR_TYPE_WUSB), 497 495 .AssociationSubTypeId_hdr = WUSB_AR_AssociationSubTypeId, 498 496 .AssociationSubTypeId = cpu_to_le16(AR_TYPE_WUSB_ASSOCIATE), 499 497 .Length_hdr = WUSB_AR_Length, 500 - .Length = cpu_to_le32(sizeof(struct wusb_cbaf_cc_data)), 498 + .Length = cpu_to_le32(sizeof(struct wusb_cbaf_cc_data)), 501 499 .ConnectionContext_hdr = WUSB_AR_ConnectionContext, 502 500 .BandGroups_hdr = WUSB_AR_BandGroups, 503 501 };