提交 49aa5afd 编写于 作者: R Randy Dunlap 提交者: Greg Kroah-Hartman

usb: typec: fix kernel-doc parameter warning

Fix kernel-doc warning (13 times):

../drivers/usb/typec/class.c:1497: warning: Excess function parameter 'drvdata' description in 'typec_port_register_altmode'
Signed-off-by: NRandy Dunlap <rdunlap@infradead.org>
Acked-by: NHeikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 4e3121ab
...@@ -1484,7 +1484,6 @@ EXPORT_SYMBOL_GPL(typec_set_mode); ...@@ -1484,7 +1484,6 @@ EXPORT_SYMBOL_GPL(typec_set_mode);
* typec_port_register_altmode - Register USB Type-C Port Alternate Mode * typec_port_register_altmode - Register USB Type-C Port Alternate Mode
* @port: USB Type-C Port that supports the alternate mode * @port: USB Type-C Port that supports the alternate mode
* @desc: Description of the alternate mode * @desc: Description of the alternate mode
* @drvdata: Private pointer to driver specific info
* *
* This routine is used to register an alternate mode that @port is capable of * This routine is used to register an alternate mode that @port is capable of
* supporting. * supporting.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册