usb: fix a typo in usb_class_driver documentation
authorAmitesh Singh <singh.amitesh@gmail.com>
Fri, 30 Sep 2016 17:10:57 +0000 (22:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Oct 2016 12:36:25 +0000 (14:36 +0200)
replace usb_unregister_dev by usb_deregister_dev

Signed-off-by: Amitesh Singh <singh.amitesh@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/usb.h

index eba1f10e8cfdac7c0cc142db6b72e031f9f30196..7e68259360dec55f4578f6203615b60faed5227c 100644 (file)
@@ -1160,7 +1160,7 @@ extern struct bus_type usb_bus_type;
  * @minor_base: the start of the minor range for this driver.
  *
  * This structure is used for the usb_register_dev() and
- * usb_unregister_dev() functions, to consolidate a number of the
+ * usb_deregister_dev() functions, to consolidate a number of the
  * parameters used for them.
  */
 struct usb_class_driver {