Browse Source

usb-core: Fix usb_free_streams return value documentation

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Hans de Goede 11 năm trước cách đây
mục cha
commit
12d4bbcea7
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      drivers/usb/core/hcd.c

+ 1 - 2
drivers/usb/core/hcd.c

@@ -2078,8 +2078,7 @@ EXPORT_SYMBOL_GPL(usb_alloc_streams);
  * Reverts a group of bulk endpoints back to not using stream IDs.
  * Can fail if we are given bad arguments, or HCD is broken.
  *
- * Return: On success, the number of allocated streams. On failure, a negative
- * error code.
+ * Return: 0 on success. On failure, a negative error code.
  */
 int usb_free_streams(struct usb_interface *interface,
 		struct usb_host_endpoint **eps, unsigned int num_eps,