提交 44a29fd7 编写于 作者: M Ming Lei 提交者: Greg Kroah-Hartman

USB: fix comments of 2 functions in hcd.c

Remove useless @type note for rh_string() and @r note for usb_hcd_irq()
since this two parameters were removed.
Signed-off-by: NMing Lei <tom.leiming@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 50d8ca9b
...@@ -291,7 +291,6 @@ static int ascii2utf (char *s, u8 *utf, int utfmax) ...@@ -291,7 +291,6 @@ static int ascii2utf (char *s, u8 *utf, int utfmax)
* rh_string - provides manufacturer, product and serial strings for root hub * rh_string - provides manufacturer, product and serial strings for root hub
* @id: the string ID number (1: serial number, 2: product, 3: vendor) * @id: the string ID number (1: serial number, 2: product, 3: vendor)
* @hcd: the host controller for this root hub * @hcd: the host controller for this root hub
* @type: string describing our driver
* @data: return packet in UTF-16 LE * @data: return packet in UTF-16 LE
* @len: length of the return packet * @len: length of the return packet
* *
...@@ -1677,7 +1676,6 @@ EXPORT_SYMBOL_GPL(usb_bus_start_enum); ...@@ -1677,7 +1676,6 @@ EXPORT_SYMBOL_GPL(usb_bus_start_enum);
* usb_hcd_irq - hook IRQs to HCD framework (bus glue) * usb_hcd_irq - hook IRQs to HCD framework (bus glue)
* @irq: the IRQ being raised * @irq: the IRQ being raised
* @__hcd: pointer to the HCD whose IRQ is being signaled * @__hcd: pointer to the HCD whose IRQ is being signaled
* @r: saved hardware registers
* *
* If the controller isn't HALTed, calls the driver's irq handler. * If the controller isn't HALTed, calls the driver's irq handler.
* Checks whether the controller is now dead. * Checks whether the controller is now dead.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册