diff options
author | Amitesh Singh <singh.amitesh@gmail.com> | 2016-09-30 13:10:57 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-24 08:36:25 -0400 |
commit | 864e2fe935228c5c551da8638b5fdd07f82d04a7 (patch) | |
tree | 11887f960b4c1a182c35e264538243e4872fc7dc | |
parent | 1001354ca34179f3db924eb66672442a173147dc (diff) |
usb: fix a typo in usb_class_driver documentation
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>
-rw-r--r-- | include/linux/usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h index eba1f10e8cfd..7e68259360de 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h | |||
@@ -1160,7 +1160,7 @@ extern struct bus_type usb_bus_type; | |||
1160 | * @minor_base: the start of the minor range for this driver. | 1160 | * @minor_base: the start of the minor range for this driver. |
1161 | * | 1161 | * |
1162 | * This structure is used for the usb_register_dev() and | 1162 | * This structure is used for the usb_register_dev() and |
1163 | * usb_unregister_dev() functions, to consolidate a number of the | 1163 | * usb_deregister_dev() functions, to consolidate a number of the |
1164 | * parameters used for them. | 1164 | * parameters used for them. |
1165 | */ | 1165 | */ |
1166 | struct usb_class_driver { | 1166 | struct usb_class_driver { |