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

staging: gdm724x: gdm_usb.c: Fix line over 80 characters.

Fix checkpatch.pl issues with line over 80 characters in gdm_usb.c

Signed-off-by: Aybuke Ozdemir <aybuke.147@gmail.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>

authored by

Aybuke Ozdemir and committed by
Peter P Waskiewicz Jr
35db0350 0a7ba623

+24 -11
+24 -11
drivers/staging/gdm724x/gdm_usb.c
··· 30 30 #include "gdm_endian.h" 31 31 32 32 #define USB_DEVICE_CDC_DATA(vid, pid) \ 33 - .match_flags = USB_DEVICE_ID_MATCH_DEVICE | USB_DEVICE_ID_MATCH_INT_CLASS | USB_DEVICE_ID_MATCH_INT_SUBCLASS,\ 33 + .match_flags = USB_DEVICE_ID_MATCH_DEVICE | \ 34 + USB_DEVICE_ID_MATCH_INT_CLASS | \ 35 + USB_DEVICE_ID_MATCH_INT_SUBCLASS,\ 34 36 .idVendor = vid,\ 35 37 .idProduct = pid,\ 36 38 .bInterfaceClass = USB_CLASS_COMM,\ 37 39 .bInterfaceSubClass = USB_CDC_SUBCLASS_ETHERNET 38 40 39 41 #define USB_DEVICE_MASS_DATA(vid, pid) \ 40 - .match_flags = USB_DEVICE_ID_MATCH_DEVICE | USB_DEVICE_ID_MATCH_INT_INFO,\ 42 + .match_flags = USB_DEVICE_ID_MATCH_DEVICE | \ 43 + USB_DEVICE_ID_MATCH_INT_INFO,\ 41 44 .idVendor = vid,\ 42 45 .idProduct = pid,\ 43 46 .bInterfaceSubClass = USB_SC_SCSI, \ ··· 62 59 static void do_rx(struct work_struct *work); 63 60 64 61 static int gdm_usb_recv(void *priv_dev, 65 - int (*cb)(void *cb_data, void *data, int len, int context), 62 + int (*cb)(void *cb_data, 63 + void *data, int len, int context), 66 64 void *cb_data, 67 65 int context); 68 66 ··· 379 375 if (tlv->type == MAC_ADDRESS && udev->request_mac_addr) { 380 376 memcpy(mac_address, tlv->data, tlv->len); 381 377 382 - if (register_lte_device(phy_dev, &udev->intf->dev, mac_address) < 0) 378 + if (register_lte_device(phy_dev, 379 + &udev->intf->dev, mac_address) < 0) 383 380 pr_err("register lte device failed\n"); 384 381 385 382 udev->request_mac_addr = 0; ··· 393 388 394 389 static void do_rx(struct work_struct *work) 395 390 { 396 - struct lte_udev *udev = container_of(work, struct lte_udev, work_rx.work); 391 + struct lte_udev *udev = 392 + container_of(work, struct lte_udev, work_rx.work); 397 393 struct rx_cxt *rx = &udev->rx; 398 394 struct usb_rx *r; 399 395 struct hci_packet *hci; ··· 409 403 spin_unlock_irqrestore(&rx->to_host_lock, flags); 410 404 break; 411 405 } 412 - r = list_entry(rx->to_host_list.next, struct usb_rx, to_host_list); 406 + r = list_entry(rx->to_host_list.next, 407 + struct usb_rx, to_host_list); 413 408 list_del(&r->to_host_list); 414 409 spin_unlock_irqrestore(&rx->to_host_lock, flags); 415 410 ··· 457 450 struct usb_rx *r_remove, *r_remove_next; 458 451 459 452 spin_lock_irqsave(&rx->submit_lock, flags); 460 - list_for_each_entry_safe(r_remove, r_remove_next, &rx->rx_submit_list, rx_submit_list) 453 + list_for_each_entry_safe(r_remove, 454 + r_remove_next, &rx->rx_submit_list, rx_submit_list) 461 455 { 462 456 if (r == r_remove) { 463 457 list_del(&r->rx_submit_list); ··· 495 487 } 496 488 497 489 static int gdm_usb_recv(void *priv_dev, 498 - int (*cb)(void *cb_data, void *data, int len, int context), 490 + int (*cb)(void *cb_data, 491 + void *data, int len, int context), 499 492 void *cb_data, 500 493 int context) 501 494 { ··· 650 641 651 642 static void do_tx(struct work_struct *work) 652 643 { 653 - struct lte_udev *udev = container_of(work, struct lte_udev, work_tx.work); 644 + struct lte_udev *udev = 645 + container_of(work, struct lte_udev, work_tx.work); 654 646 struct usb_device *usbdev = udev->usbdev; 655 647 struct tx_cxt *tx = &udev->tx; 656 648 struct usb_tx *t = NULL; ··· 810 800 return &udev->gdm_ed; 811 801 } 812 802 813 - static int gdm_usb_probe(struct usb_interface *intf, const struct usb_device_id *id) 803 + static int gdm_usb_probe(struct usb_interface *intf, 804 + const struct usb_device_id *id) 814 805 { 815 806 int ret = 0; 816 807 struct phy_dev *phy_dev = NULL; ··· 859 848 usb_enable_autosuspend(usbdev); 860 849 pm_runtime_set_autosuspend_delay(&usbdev->dev, AUTO_SUSPEND_TIMER); 861 850 862 - /* List up hosts with big endians, otherwise, defaults to little endian */ 851 + /* List up hosts with big endians, otherwise, 852 + * defaults to little endian 853 + */ 863 854 if (idProduct == PID_GDM7243) 864 855 gdm_set_endian(&udev->gdm_ed, ENDIANNESS_BIG); 865 856 else