usb: fix comment of struct usb_interface
PATCH 1/1 usb: fix comment of struct usb_interface
From: Lei Ming <[email protected]>
update the comment for the removed "driver" field and being out-of-order of @cur_altsetting and @num_altsetting.
Signed-off-by Lei Ming <[email protected]>
--- include/linux/usb.h | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) mode change 100644 => 100755 include/linux/usb.h
include/linux/usb.h +1 -2
@@ -94,10 +94,9 @@ enum usb_interface_condition {* @altsetting: array of interface structures, one for each alternate * setting that may be selected. Each one includes a set of * endpoint configurations. They will be in no particular order. -* @num_altsetting: number of altsettings defined. * @cur_altsetting: the current altsetting. +* @num_altsetting: number of altsettings defined. * @intf_assoc: interface association descriptor -* @driver: the USB driver that is bound to this interface. * @minor: the minor number assigned to this interface, if this * interface is bound to a driver that uses the USB major number. * If this interface does not use the USB major, this field should
Signature · 1 line
1.5.4.rc4.338.g923d4