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

usb: core: hub: Removed some warnings generated by checkpatch.pl

Removed some checkpatch.pl warnings saying there was an unwanted space
between function names and their arguments.

Signed-off-by: Chase Metzger <chasemetzger15@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Chase Metzger and committed by
Greg Kroah-Hartman
039b3307 c7360b34

+8 -8
+8 -8
drivers/usb/core/hub.c
··· 4222 4222 * but it is still necessary to lock the port. 4223 4223 */ 4224 4224 static int 4225 - hub_port_init (struct usb_hub *hub, struct usb_device *udev, int port1, 4225 + hub_port_init(struct usb_hub *hub, struct usb_device *udev, int port1, 4226 4226 int retry_counter) 4227 4227 { 4228 4228 struct usb_device *hdev = hub->hdev; ··· 4526 4526 } 4527 4527 4528 4528 static void 4529 - check_highspeed (struct usb_hub *hub, struct usb_device *udev, int port1) 4529 + check_highspeed(struct usb_hub *hub, struct usb_device *udev, int port1) 4530 4530 { 4531 4531 struct usb_qualifier_descriptor *qual; 4532 4532 int status; ··· 4534 4534 if (udev->quirks & USB_QUIRK_DEVICE_QUALIFIER) 4535 4535 return; 4536 4536 4537 - qual = kmalloc (sizeof *qual, GFP_KERNEL); 4537 + qual = kmalloc(sizeof *qual, GFP_KERNEL); 4538 4538 if (qual == NULL) 4539 4539 return; 4540 4540 4541 - status = usb_get_descriptor (udev, USB_DT_DEVICE_QUALIFIER, 0, 4541 + status = usb_get_descriptor(udev, USB_DT_DEVICE_QUALIFIER, 0, 4542 4542 qual, sizeof *qual); 4543 4543 if (status == sizeof *qual) { 4544 4544 dev_info(&udev->dev, "not running at top speed; " ··· 4554 4554 } 4555 4555 4556 4556 static unsigned 4557 - hub_power_remaining (struct usb_hub *hub) 4557 + hub_power_remaining(struct usb_hub *hub) 4558 4558 { 4559 4559 struct usb_device *hdev = hub->hdev; 4560 4560 int remaining; ··· 4741 4741 if (le16_to_cpu(udev->descriptor.bcdUSB) >= 0x0200 4742 4742 && udev->speed == USB_SPEED_FULL 4743 4743 && highspeed_hubs != 0) 4744 - check_highspeed (hub, udev, port1); 4744 + check_highspeed(hub, udev, port1); 4745 4745 4746 4746 /* Store the parent's children[] pointer. At this point 4747 4747 * udev becomes globally accessible, although presumably ··· 5115 5115 { } /* Terminating entry */ 5116 5116 }; 5117 5117 5118 - MODULE_DEVICE_TABLE (usb, hub_id_table); 5118 + MODULE_DEVICE_TABLE(usb, hub_id_table); 5119 5119 5120 5120 static struct usb_driver hub_driver = { 5121 5121 .name = "hub", ··· 5227 5227 changed = 1; 5228 5228 break; 5229 5229 } 5230 - if (memcmp (buf, udev->rawdescriptors[index], old_length) 5230 + if (memcmp(buf, udev->rawdescriptors[index], old_length) 5231 5231 != 0) { 5232 5232 dev_dbg(&udev->dev, "config index %d changed (#%d)\n", 5233 5233 index,